Jpp  15.0.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 747 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 758 of file JParser.hh.

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

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

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