LineStream defines a stream for reading lines. More...
Public Member Functions | |
LineStream () | |
void | copyLine (std::string *line) const |
int | readLine (std::ifstream &fileHandle) |
Additional Inherited Members | |
Protected Member Functions inherited from bitpit::LineBuffer | |
LineBuffer () | |
void | copyLine (std::string *line) const |
int | readLine (std::ifstream &fileHandle) |
LineStream defines a stream for reading lines.
Definition at line 51 of file line_stream.hpp.
bitpit::LineStream::LineStream | ( | ) |
Constructor.
Definition at line 95 of file line_stream.cpp.
void bitpit::LineBuffer::copyLine | ( | std::string * | line | ) | const |
Get a copy of the current line.
line | on output will contain the current line |
Definition at line 39 of file line_stream.cpp.
int bitpit::LineStream::readLine | ( | std::ifstream & | fileHandle | ) |
Read a line from the file.
fileHandle | is the file handle |
Definition at line 105 of file line_stream.cpp.