1 #ifndef __JLANG__JSTRINGSTREAM__
2 #define __JLANG__JSTRINGSTREAM__
15 namespace 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();
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...
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in