Specialisation of TStringHelper if TString exists.
More...
#include <JParser.hh>
|
template<class T > |
static std::istream & | read (std::istream &in, T &object) |
| Read object from input stream. More...
|
|
template<class T > |
static std::istream & | read (std::istream &in, std::vector< T > &object) |
| Read std::vector of objects from input stream. More...
|
|
template<>
struct JPARSER::TStringHelper< true >
Specialisation of TStringHelper if TString exists.
Definition at line 782 of file JParser.hh.
Read object from input stream.
- Parameters
-
in | input stream |
object | object |
- Returns
- input stream
Definition at line 792 of file JParser.hh.
794 return object.ReadLine(
in);
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 typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Read std::vector of objects from input stream.
- Parameters
-
in | input stream |
object | object |
- Returns
- input stream
Definition at line 805 of file JParser.hh.
807 for (std::string buffer;
in >> buffer; ) {
808 object.push_back(TString(buffer.c_str()));
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 typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
The documentation for this struct was generated from the following file: