Ginan
Loading...
Searching...
No Matches
FileStream Struct Reference
Inheritance diagram for FileStream:
Collaboration diagram for FileStream:

Public Member Functions

 FileStream (string path)
 
unique_ptr< std::istream > getIStream_ptr () override
 
bool isDead () override
 Check to see if this stream has run out of data.
 
- Public Member Functions inherited from Stream
virtual ~Stream ()=default
 

Data Fields

string path
 
long int filePos = 0
 
- Data Fields inherited from Stream
string sourceString
 

Constructor & Destructor Documentation

◆ FileStream()

FileStream::FileStream ( string path)
inline

Member Function Documentation

◆ getIStream_ptr()

unique_ptr< std::istream > FileStream::getIStream_ptr ( )
inlineoverridevirtual

Implements Stream.

Here is the caller graph for this function:

◆ isDead()

bool FileStream::isDead ( )
inlineoverridevirtual

Check to see if this stream has run out of data.

Reimplemented from Stream.

Here is the call graph for this function:

Field Documentation

◆ filePos

long int FileStream::filePos = 0

◆ path

string FileStream::path

The documentation for this struct was generated from the following file: