1#ifndef __JLANG__JSTRINGSTREAM__
2#define __JLANG__JSTRINGSTREAM__
15namespace JPP {
using namespace JLANG; }
23 public std::stringstream,
40 istream::sentry sentry(in);
43 (*this) << in.rdbuf();
58 ifstream in(this->str().c_str());
64 (*this) << in.rdbuf();
This class can be used to temporarily exchange the states between streams.
Wrapper class around STL stringstream class to facilitate optional loading of data from file.
void load()
Load data from file with name corresponding to current contents.
JStringStream(std::istream &in)
Constructor.
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).