Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ValueGenerator_Increment Template Class Reference

Increment a starting value each time by the given amount. More...

#include <valuegen.h>

Inheritance diagram for ValueGenerator_Increment

Inheritance graph

[legend]
Collaboration diagram for ValueGenerator_Increment:

Collaboration graph

[legend]
List of all members.

Public Methods

 ValueGenerator_Increment (T init_value, T increment=1)
 ValueGenerator_Increment (StringArgs& args)
 Could extend to accept references for arguments. More...

 ValueGenerator_Increment (const ValueGenerator_Increment& other)
 Copy constructor. More...

virtual bool next ()
 Advance to the next state (whatever that means for this object). More...

virtual void reset ()
 Reset to the starting state. More...

virtual ValueGenerator<T>* clone () const
 Constructs an identical copy of self and returns it. More...


Detailed Description

template<class T = double> template class ValueGenerator_Increment

Increment a starting value each time by the given amount.

Definition at line 270 of file valuegen.h.


Constructor & Destructor Documentation

template<classT = double>
ValueGenerator_Increment<T>::ValueGenerator_Increment<T> ( T init_value,
T increment = 1 )
 

Definition at line 274 of file valuegen.h.

template<classT = double>
ValueGenerator_Increment<T>::ValueGenerator_Increment<T> ( StringArgs & args )
 

Could extend to accept references for arguments.

Definition at line 279 of file valuegen.h.

Referenced by clone().

template<classT = double>
ValueGenerator_Increment<T>::ValueGenerator_Increment<T> ( const ValueGenerator_Increment<T> & other )
 

Copy constructor.

Definition at line 287 of file valuegen.h.


Member Function Documentation

template<classT = double>
ValueGenerator< T >* ValueGenerator_Increment<T>::clone<T> ( ) const [inline, virtual]
 

Constructs an identical copy of self and returns it.

Reimplemented from ValueGenerator.

Definition at line 293 of file valuegen.h.

template<classT = double>
bool ValueGenerator_Increment<T>::next ( void ) [inline, virtual]
 

Advance to the next state (whatever that means for this object).

Reimplemented from ValueGenerator.

Definition at line 290 of file valuegen.h.

template<classT = double>
void ValueGenerator_Increment<T>::reset ( ) [inline, virtual]
 

Reset to the starting state.

Reimplemented from ValueGenerator.

Definition at line 291 of file valuegen.h.


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:28 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000