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 995 of file JParser.hh.
Read object from input stream.
- Parameters
-
in | input stream |
object | object |
- Returns
- input stream
Definition at line 1005 of file JParser.hh.
1007 return object.ReadLine(
in);
then fatal The output file must have the wildcard in the e g root fi 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
Read std::vector of objects from input stream.
- Parameters
-
in | input stream |
object | object |
- Returns
- input stream
Definition at line 1018 of file JParser.hh.
1020 for (std::string buffer;
in >> buffer; ) {
1021 object.push_back(buffer.c_str());
then fatal The output file must have the wildcard in the e g root fi 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
The documentation for this struct was generated from the following file: