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.
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
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 JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in