1#ifndef __JTOOLS__JDRIVER__
2#define __JTOOLS__JDRIVER__
25 template<
class JClass_t>
34 static inline JClass_t*
load(std::false_type option)
36 return new JClass_t();
47 static inline JClass_t*
load(std::istream& in, std::false_type option)
60 static inline JClass_t*
load(std::istream& in, std::true_type option)
62 JClass_t* p =
load(std::false_type());
85 static inline void store(std::ostream& out,
const JClass_t* p, std::false_type option)
96 static inline void store(std::ostream& out,
const JClass_t* p, std::true_type option)
122 static inline JClass_t*
load(std::istream& in)
135 static inline void store(std::ostream& out,
const T* p)
Test availability of stream operators.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).