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

LineStream defines a stream for reading lines. More...

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

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)
 

Detailed Description

LineStream defines a stream for reading lines.

Definition at line 51 of file line_stream.hpp.

Constructor & Destructor Documentation

◆ LineStream()

bitpit::LineStream::LineStream ( )

Constructor.

Definition at line 95 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 39 of file line_stream.cpp.

◆ readLine()

int bitpit::LineStream::readLine ( std::ifstream & fileHandle)

Read a line from the file.

Parameters
fileHandleis the file handle

Definition at line 105 of file line_stream.cpp.


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