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

#include <FunctionBinding.h>

Inheritance diagram for FunctionBindingString< T >:
[legend]
Collaboration diagram for FunctionBindingString< T >:
[legend]

Public Types

typedef std::string(T::* Operation) () const
 Type of the function to execute.
 

Public Member Functions

ValueSource< std::string > * copy () const
 
 FunctionBindingString (T *const source, Operation operation)
 
std::string getValue () const
 
ValueSource< double > * makedoubleReturningCopy () const
 
 ~FunctionBindingString ()
 Destructor.
 

Private Member Functions

FunctionBindingString< T > & operator= (const FunctionBindingString< T > &)
 invalidated assignment operator
 

Private Attributes

Operation myOperation
 The object's operation to perform.
 
T * mySource
 The object the action is directed to.
 

Detailed Description

template<class T>
class FunctionBindingString< T >

Definition at line 79 of file FunctionBinding.h.

Member Typedef Documentation

◆ Operation

template<class T >
typedef std::string(T::* FunctionBindingString< T >::Operation) () const

Type of the function to execute.

Definition at line 82 of file FunctionBinding.h.

Constructor & Destructor Documentation

◆ FunctionBindingString()

template<class T >
FunctionBindingString< T >::FunctionBindingString ( T *const  source,
Operation  operation 
)
inline

Definition at line 84 of file FunctionBinding.h.

◆ ~FunctionBindingString()

template<class T >
FunctionBindingString< T >::~FunctionBindingString ( )
inline

Destructor.

Definition at line 90 of file FunctionBinding.h.

Member Function Documentation

◆ copy()

template<class T >
ValueSource< std::string > * FunctionBindingString< T >::copy ( ) const
inlinevirtual

◆ getValue()

template<class T >
std::string FunctionBindingString< T >::getValue ( ) const
inlinevirtual

◆ makedoubleReturningCopy()

template<class T >
ValueSource< double > * FunctionBindingString< T >::makedoubleReturningCopy ( ) const
inlinevirtual

Implements ValueSource< std::string >.

Definition at line 100 of file FunctionBinding.h.

◆ operator=()

template<class T >
FunctionBindingString< T > & FunctionBindingString< T >::operator= ( const FunctionBindingString< T > &  )
private

invalidated assignment operator

Field Documentation

◆ myOperation

template<class T >
Operation FunctionBindingString< T >::myOperation
private

The object's operation to perform.

Definition at line 109 of file FunctionBinding.h.

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

◆ mySource

template<class T >
T* FunctionBindingString< T >::mySource
private

The object the action is directed to.

Definition at line 106 of file FunctionBinding.h.

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


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