Jpp  19.0.0
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 960 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 971 of file JParser.hh.

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

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

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