vtf-logo

ads::GeneratorConstant< _Result > Class Template Reference
[Functor: Constant]

Generator that returns a constant. More...

#include <constant.h>

List of all members.

Public Types

typedef _Result result_type
 The result type.

Public Member Functions

Constructors etc.
 GeneratorConstant ()
 Default constructor. Uninitialized value.
 GeneratorConstant (const result_type &x)
 Construct from the constant value.
Manipulators.
void set (const result_type &x)
 Set the return value.
Functor.
const result_typeoperator() () const
 Return the constant value.

Related Functions

(Note that these are not member functions.)

GeneratorConstant< _Result > constructGeneratorConstant (const _Result &x)
 Convenience function for constructing a GeneratorConstant.
GeneratorConstant< _Result > constructGeneratorConstant ()
 Convenience function for constructing a GeneratorConstant.


Detailed Description

template<typename _Result>
class ads::GeneratorConstant< _Result >

Generator that returns a constant.


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 12:55:39 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7