Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
bitpit::LineBuffer Class Reference

LineBuffer defines a buffer for reading lines. More...

Inheritance diagram for bitpit::LineBuffer:
Inheritance graph
[legend]
Collaboration diagram for bitpit::LineBuffer:
Collaboration graph
[legend]

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()

bitpit::LineBuffer::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
lineon 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
fileHandleis the file handle

Definition at line 49 of file line_stream.cpp.


The documentation for this class was generated from the following files:
--- layout: doxygen_footer ---