version 3.3

VRS::TimeConstMap< T > Class Template Reference

Template Class for Constant VRSTime Mappings. More...

#include <vrs/sg/timeconstmap.h>

Inheritance diagram for VRS::TimeConstMap< T >:

VRS::TimeMap< T > VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 TimeConstMap (const T &constValue)
void setConstant (const T &constValue)
getConstant () const
 Sets/gets the constant value.
virtual T map (const Moment &m)
 Returns the constant value.
 VRS_TYPEINFO (TimeConstMap, TimeMap< T >)


Detailed Description

template<typename T>
class VRS::TimeConstMap< T >

Template Class for Constant VRSTime Mappings.

Constructor & Destructor Documentation

template<typename T>
VRS::TimeConstMap< T >::TimeConstMap ( const T &  constValue  ) 

An `ConstTimeValue' maps a given moment to a constant value.


Member Function Documentation

template<typename T>
void VRS::TimeConstMap< T >::setConstant ( const T &  constValue  ) 

template<typename T>
T VRS::TimeConstMap< T >::getConstant (  )  const

Sets/gets the constant value.

template<typename T>
virtual T VRS::TimeConstMap< T >::map ( const Moment m  )  [virtual]

Returns the constant value.

Implements VRS::TimeMap< T >.

template<typename T>
VRS::TimeConstMap< T >::VRS_TYPEINFO ( TimeConstMap< T >  ,
TimeMap< T >   
)


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

Generated on Wed May 23 06:00:28 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact