Jpp  17.3.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
JPARSER::TStringHelper< false > Struct Template 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. More...
 
template<class T >
static std::istream & read (std::istream &in, std::vector< T > &object)
 Read std::vector of objects from input stream. More...
 

Detailed Description

template<>
struct JPARSER::TStringHelper< false >

Specialisation of TStringHelper if TString does not exist.

Definition at line 764 of file JParser.hh.

Member Function Documentation

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 775 of file JParser.hh.

776  {
777  THROW(JParserException, "JParser: invalid data type TString (include TString.h before JParser.hh)");
778  }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Definition: JException.hh:696
Exception when parsing a value.
Definition: JException.hh:540
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 789 of file JParser.hh.

790  {
791  THROW(JParserException, "JParser: invalid data type TString (include TString.h before JParser.hh)");
792  }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Definition: JException.hh:696
Exception when parsing a value.
Definition: JException.hh:540

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