Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JPARSER::TStringHelper< false > Struct Reference

Specialisation of TStringHelper if TString does not exist. More...

#include <JParser.hh>

Static Public Member Functions

template<class T >
static std::istream & read (std::istream &in, T &object)
 Read object from input stream.
 
template<class T >
static std::istream & read (std::istream &in, std::vector< T > &object)
 Read std::vector of objects from input stream.
 

Detailed Description

Specialisation of TStringHelper if TString does not exist.

Definition at line 944 of file JParser.hh.

Member Function Documentation

◆ read() [1/2]

template<class T >
static std::istream & JPARSER::TStringHelper< false >::read ( std::istream & in,
T & object )
inlinestatic

Read object from input stream.


This method thrown an error.

Parameters
ininput stream
objectobject
Returns
input stream

Definition at line 955 of file JParser.hh.

956 {
957 THROW(JParserException, "JParser: invalid data type TString (include TString.h before JParser.hh)");
958 }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.

◆ read() [2/2]

template<class T >
static std::istream & JPARSER::TStringHelper< false >::read ( std::istream & in,
std::vector< T > & object )
inlinestatic

Read std::vector of objects from input stream.


This method thrown an error.

Parameters
ininput stream
objectobject
Returns
input stream

Definition at line 969 of file JParser.hh.

970 {
971 THROW(JParserException, "JParser: invalid data type TString (include TString.h before JParser.hh)");
972 }

The documentation for this struct was generated from the following file: