#include <ExecStreamGenerator.h>
Inheritance diagram for ConstColumnGenerator:
Public Member Functions | |
ConstColumnGenerator (int constInit) | |
int64_t | next () |
Private Attributes | |
int64_t | constvalue |
Generates the same value for a column
Definition at line 370 of file ExecStreamGenerator.h.
ConstColumnGenerator::ConstColumnGenerator | ( | int | constInit | ) | [inline, explicit] |
Definition at line 375 of file ExecStreamGenerator.h.
References constvalue.
00375 { 00376 constvalue = constInit; 00377 }
int64_t ConstColumnGenerator::next | ( | ) | [inline, virtual] |
Implements ColumnGenerator< T >.
Definition at line 379 of file ExecStreamGenerator.h.
References constvalue.
00380 { 00381 return constvalue; 00382 }
int64_t ConstColumnGenerator::constvalue [private] |
Definition at line 372 of file ExecStreamGenerator.h.
Referenced by ConstColumnGenerator(), and next().