ConstColumnGenerator Class Reference

Constant column generator. More...

#include <ExecStreamGenerator.h>

Inheritance diagram for ConstColumnGenerator:

ColumnGenerator< T > List of all members.

Public Member Functions

 ConstColumnGenerator (int constInit)
int64_t next ()

Private Attributes

int64_t constvalue

Detailed Description

Constant column generator.

Generates the same value for a column

Zelaine Fong

Definition at line 370 of file ExecStreamGenerator.h.

Constructor & Destructor Documentation

ConstColumnGenerator::ConstColumnGenerator ( int  constInit  )  [inline, explicit]

Definition at line 375 of file ExecStreamGenerator.h.

References constvalue.

00375                                                  {
00376         constvalue = constInit;
00377     }

Member Function Documentation

int64_t ConstColumnGenerator::next (  )  [inline, virtual]

Implements ColumnGenerator< T >.

Definition at line 379 of file ExecStreamGenerator.h.

References constvalue.

00380     {
00381         return constvalue;
00382     }

Member Data Documentation

int64_t ConstColumnGenerator::constvalue [private]

Definition at line 372 of file ExecStreamGenerator.h.

Referenced by ConstColumnGenerator(), and next().

The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:29 2009 for Fennel by  doxygen 1.5.1