The Sparta Modeling Framework
|
#include <FILEStream.hpp>
Public Member Functions | |
FILEIstream (FILE *fd) | |
std::istream & | getStream () |
An class for creating an istream from a C file stream.
Create one of these on the stack, then use the getStream method to get a reference to its std::istream.
This class basically holds the appropriate custom streambuf instance and the istream instance. The caller will still be responsible for creating and closing the C file stream.
Definition at line 168 of file FILEStream.hpp.
|
inline |
Constructor.
fd | Pointer to the underlying file stream. |
Definition at line 285 of file FILEStream.hpp.
|
inline |
Get a reference to the internal istream.
Definition at line 295 of file FILEStream.hpp.