#include <FuncBinding_StringParam.h>

Definition at line 42 of file FuncBinding_StringParam.h.
Public Types | |
| typedef R(T::* | Operation )(const std::string &) const |
| Type of the function to execute. | |
Public Member Functions | |
| ValueSource< R > * | copy () const |
| FuncBinding_StringParam (T *source, Operation operation, const std::string ¶m) | |
| R | getValue () const |
| ValueSource< SUMOReal > * | makeSUMORealReturningCopy () const |
| ~FuncBinding_StringParam () | |
| Destructor. | |
Private Attributes | |
| Operation | myOperation |
| The object's operation to perform. | |
| std::string | myParam |
| T * | mySource |
| The object the action is directed to. | |
| typedef R(T::* FuncBinding_StringParam< T, R >::Operation)(const std::string &) const |
Type of the function to execute.
| FuncBinding_StringParam< T, R >::FuncBinding_StringParam | ( | T * | source, | |
| Operation | operation, | |||
| const std::string & | param | |||
| ) | [inline] |
Definition at line 47 of file FuncBinding_StringParam.h.
00049 : 00050 mySource(source), 00051 myOperation(operation), 00052 myParam(param) {}
| FuncBinding_StringParam< T, R >::~FuncBinding_StringParam | ( | ) | [inline] |
| ValueSource<R>* FuncBinding_StringParam< T, R >::copy | ( | ) | const [inline, virtual] |
Implements ValueSource< R >.
Definition at line 61 of file FuncBinding_StringParam.h.
References FuncBinding_StringParam< T, R >::myOperation, FuncBinding_StringParam< T, R >::myParam, and FuncBinding_StringParam< T, R >::mySource.
00061 { 00062 return new FuncBinding_StringParam<T, R>( 00063 mySource, myOperation, myParam); 00064 }
| R FuncBinding_StringParam< T, R >::getValue | ( | ) | const [inline, virtual] |
Implements ValueSource< R >.
Definition at line 57 of file FuncBinding_StringParam.h.
References FuncBinding_StringParam< T, R >::myOperation, FuncBinding_StringParam< T, R >::myParam, and FuncBinding_StringParam< T, R >::mySource.
00057 { 00058 return (mySource->*myOperation)(myParam); 00059 }
| ValueSource<SUMOReal>* FuncBinding_StringParam< T, R >::makeSUMORealReturningCopy | ( | ) | const [inline, virtual] |
Operation FuncBinding_StringParam< T, R >::myOperation [private] |
The object's operation to perform.
Definition at line 78 of file FuncBinding_StringParam.h.
Referenced by FuncBinding_StringParam< T, R >::copy(), and FuncBinding_StringParam< T, R >::getValue().
std::string FuncBinding_StringParam< T, R >::myParam [private] |
Definition at line 80 of file FuncBinding_StringParam.h.
Referenced by FuncBinding_StringParam< T, R >::copy(), and FuncBinding_StringParam< T, R >::getValue().
T* FuncBinding_StringParam< T, R >::mySource [private] |
The object the action is directed to.
Definition at line 75 of file FuncBinding_StringParam.h.
Referenced by FuncBinding_StringParam< T, R >::copy(), and FuncBinding_StringParam< T, R >::getValue().
1.5.6