Jpp
18.5.0
the software that should make you happy
|
Wrapper class around STL stringstream class to facilitate optional loading of data from file. More...
#include <JStringStream.hh>
Public Member Functions | |
JStringStream (std::istream &in) | |
Constructor. More... | |
void | load () |
Load data from file with name corresponding to current contents. More... | |
Wrapper class around STL stringstream class to facilitate optional loading of data from file.
Definition at line 22 of file JStringStream.hh.
|
inline |
Constructor.
This constructor loads all data from given input stream.
in | input stream |
Definition at line 34 of file JStringStream.hh.
|
inline |
Load data from file with name corresponding to current contents.
Note that if the file exists but is empty, the state of the stream is set to fail by C++ standard.
Definition at line 54 of file JStringStream.hh.