1 #ifndef __JLANG__JTEMPLATEREADER__
2 #define __JLANG__JTEMPLATEREADER__
14 namespace JPP {
using namespace JLANG; }
24 template<
class JReader_t,
33 template<
class JReader_t>
45 template<
class JClass_t>
46 static inline JReader_t&
read(JReader_t&
in,
62 template<
class JClass_t,
class JHead_t,
class JTail_t>
63 static inline JReader_t&
read(JReader_t&
in,
67 in >>
static_cast<JHead_t&
>(object);
81 template<
class JClass_t,
class JHead_t>
82 static inline JReader_t&
read(JReader_t&
in,
86 return in >>
static_cast<JHead_t&
>(object);
96 template<
class JReader_t,
class JClass_t,
class JHead_t,
class JTail_t>
Template definition of auxiliary base class for composite data types which derive from one or more ba...
static JReader_t & read(JReader_t &in, JClass_t &object, const JType< JTypeList< JHead_t, JNullType > > &type)
Read method for composite data types.
bool read(Vec &v, std::istream &is)
Read a Vec(tor) from a stream.
Auxiliary class for a type holder.
Auxiliary class for no type definition.
static JReader_t & read(JReader_t &in, JClass_t &object, const JType< JTypeList< JHead_t, JTail_t > > &type)
Read method for composite data types.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
static JReader_t & read(JReader_t &in, JClass_t &object, const JType< JNullType > &type)
Write method for single data types.
friend JReader_t & operator>>(JReader_t &in, JClass_t &object)
Read operator.