Jpp test-rotations-new
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. | |
void | load () |
Load data from file with name corresponding to current contents. | |
Private Attributes | |
std::ios & | __from |
std::ios & | __to |
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.
|
privateinherited |
Definition at line 67 of file JStreamState.hh.
|
privateinherited |
Definition at line 68 of file JStreamState.hh.