1 #ifndef __JLANG__JSTRINGSTREAM__
2 #define __JLANG__JSTRINGSTREAM__
15 namespace JPP {
using namespace JLANG; }
23 public std::stringstream,
38 (*this) << in.rdbuf();
52 ifstream in(this->str().c_str());
58 (*this) << in.rdbuf();
void load()
Load data from file with name corresponding to current contents.
This class can be used to temporarily exchange the states between streams.
JStringStream(std::istream &in)
Constructor.
Wrapper class around STL stringstream class to facilitate optional loading of data from file...