#include <pipe.h>
Definition at line 36 of file pipe.h.
Public Member Functions | |
const Builder & | GetBuilder () const |
Access the builder. | |
bool | PumpEntry (Parser &parser, const IConverter *ic=0) |
Reads one item from the builder and feeds it into the parser and returns the builder Retrieve status. | |
void | PumpSeries (Parser &parser, const IConverter *ic=0) |
Reads all items from builder, feeding them into the parser, until the builder's Retrieve() signals the end of the series. | |
void | PumpFile (Parser &parser, const IConverter *ic=0) |
Reads all series from the builder, feeding them into the parser, until the builder's EndOfFile() is true. |
const Builder& Barry::Pipe::GetBuilder | ( | ) | const [inline] |
bool Barry::Pipe::PumpEntry | ( | Parser & | parser, | |
const IConverter * | ic = 0 | |||
) |
Reads one item from the builder and feeds it into the parser and returns the builder Retrieve status.
Definition at line 35 of file pipe.cc.
References Barry::Builder::FetchRecord(), and Barry::Parser::ParseRecord().
Referenced by PumpSeries().
void Barry::Pipe::PumpSeries | ( | Parser & | parser, | |
const IConverter * | ic = 0 | |||
) |
Reads all items from builder, feeding them into the parser, until the builder's Retrieve() signals the end of the series.
Reads all items from builder, feeding them into the parser, until the builder's Retrieve() signals the end of the series.
Definition at line 48 of file pipe.cc.
References PumpEntry().
Referenced by PumpFile().
void Barry::Pipe::PumpFile | ( | Parser & | parser, | |
const IConverter * | ic = 0 | |||
) |
Reads all series from the builder, feeding them into the parser, until the builder's EndOfFile() is true.
Reads all series from the builder, feeding them into the parser, until the builder's EndOfFile() is true.
Definition at line 56 of file pipe.cc.
References Barry::Builder::EndOfFile(), and PumpSeries().