LineBuffer defines a buffer for reading lines. More...
Public Member Functions | |
void | copyLine (std::string *line) const |
int | readLine (std::ifstream &fileHandle) |
Protected Member Functions | |
LineBuffer () | |
LineBuffer defines a buffer for reading lines.
Definition at line 35 of file line_stream.hpp.
|
protected |
Constructor.
Definition at line 39 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 82 of file line_stream.cpp.
int bitpit::LineBuffer::readLine | ( | std::ifstream & | fileHandle | ) |
Read a line from the file.
fileHandle | is the file handle |
Definition at line 49 of file line_stream.cpp.