#include <LbmExecStreamTestBase.h>
Inheritance diagram for NumberStreamExecStreamGenerator:
Public Member Functions | |
NumberStreamExecStreamGenerator (SharedNumberStream pNumberStream) | |
virtual int64_t | generateValue (uint iRow, uint iCol) |
Generates one data value. | |
Protected Attributes | |
SharedNumberStream | pStream |
Definition at line 244 of file LbmExecStreamTestBase.h.
NumberStreamExecStreamGenerator::NumberStreamExecStreamGenerator | ( | SharedNumberStream | pNumberStream | ) | [inline] |
Definition at line 249 of file LbmExecStreamTestBase.h.
References pStream.
00250 { 00251 pStream = SharedNumberStream(pNumberStream->clone()); 00252 }
virtual int64_t NumberStreamExecStreamGenerator::generateValue | ( | uint | iRow, | |
uint | iCol | |||
) | [inline, virtual] |
Generates one data value.
iRow | 0-based row number to generate | |
iCol | 0-based col number to generate |
Implements MockProducerExecStreamGenerator.
Definition at line 254 of file LbmExecStreamTestBase.h.
References pStream.
00255 { 00256 if (pStream->hasNext()) { 00257 return pStream->getNext(); 00258 } 00259 return 0; 00260 }
Definition at line 247 of file LbmExecStreamTestBase.h.
Referenced by generateValue(), and NumberStreamExecStreamGenerator().