Loading...
Searching...
No Matches
bitpit::LineBuffer Class Reference
LineBuffer defines a buffer for reading lines. More...
Inheritance diagram for bitpit::LineBuffer:

Collaboration diagram for bitpit::LineBuffer:

Public Member Functions | |
void | copyLine (std::string *line) const |
int | readLine (std::ifstream &fileHandle) |
Protected Member Functions | |
LineBuffer () | |
Detailed Description
LineBuffer defines a buffer for reading lines.
Definition at line 35 of file line_stream.hpp.
Constructor & Destructor Documentation
◆ LineBuffer()
|
protected |
Constructor.
Definition at line 39 of file line_stream.cpp.
Member Function Documentation
◆ copyLine()
void bitpit::LineBuffer::copyLine | ( | std::string * | line | ) | const |
Get a copy of the current line.
- Parameters
-
line on output will contain the current line
Definition at line 82 of file line_stream.cpp.
◆ readLine()
int bitpit::LineBuffer::readLine | ( | std::ifstream & | fileHandle | ) |
Read a line from the file.
- Parameters
-
fileHandle is the file handle
Definition at line 49 of file line_stream.cpp.
The documentation for this class was generated from the following files:
- src/IO/line_stream.hpp
- src/IO/line_stream.cpp
