Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
FuncBinding_StringParam< T, R > Class Template Reference

#include <FuncBinding_StringParam.h>

Inheritance diagram for FuncBinding_StringParam< T, R >:
[legend]
Collaboration diagram for FuncBinding_StringParam< T, R >:
[legend]

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 &param)
 
getValue () const
 
ValueSource< double > * makedoubleReturningCopy () 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.
 

Detailed Description

template<class T, typename R>
class FuncBinding_StringParam< T, R >

Definition at line 34 of file FuncBinding_StringParam.h.

Member Typedef Documentation

◆ Operation

template<class T , typename R >
typedef R(T::* FuncBinding_StringParam< T, R >::Operation) (const std::string &) const

Type of the function to execute.

Definition at line 37 of file FuncBinding_StringParam.h.

Constructor & Destructor Documentation

◆ FuncBinding_StringParam()

template<class T , typename R >
FuncBinding_StringParam< T, R >::FuncBinding_StringParam ( T *  source,
Operation  operation,
const std::string &  param 
)
inline

Definition at line 39 of file FuncBinding_StringParam.h.

◆ ~FuncBinding_StringParam()

template<class T , typename R >
FuncBinding_StringParam< T, R >::~FuncBinding_StringParam ( )
inline

Destructor.

Definition at line 47 of file FuncBinding_StringParam.h.

Member Function Documentation

◆ copy()

template<class T , typename R >
ValueSource< R > * FuncBinding_StringParam< T, R >::copy ( ) const
inlinevirtual

◆ getValue()

template<class T , typename R >
R FuncBinding_StringParam< T, R >::getValue ( ) const
inlinevirtual

◆ makedoubleReturningCopy()

template<class T , typename R >
ValueSource< double > * FuncBinding_StringParam< T, R >::makedoubleReturningCopy ( ) const
inlinevirtual

Implements ValueSource< R >.

Definition at line 58 of file FuncBinding_StringParam.h.

Field Documentation

◆ myOperation

template<class T , typename R >
Operation FuncBinding_StringParam< T, R >::myOperation
private

The object's operation to perform.

Definition at line 70 of file FuncBinding_StringParam.h.

Referenced by FuncBinding_StringParam< T, R >::copy(), and FuncBinding_StringParam< T, R >::getValue().

◆ myParam

template<class T , typename R >
std::string FuncBinding_StringParam< T, R >::myParam
private

◆ mySource

template<class T , typename R >
T* FuncBinding_StringParam< T, R >::mySource
private

The object the action is directed to.

Definition at line 67 of file FuncBinding_StringParam.h.

Referenced by FuncBinding_StringParam< T, R >::copy(), and FuncBinding_StringParam< T, R >::getValue().


The documentation for this class was generated from the following file: