31 inline void print(std::ostream& out,
const JType<T>& type,
const JBool<true>& opton)
35 out <<
"ROOT " << T::Class_Name() << endl;
46 inline void print(std::ostream& out,
const JType<T>& type,
const JBool<false>& opton)
50 out <<
"C++ " <<
typeid(T).name() << endl;
60 inline void print(std::ostream& out,
const JType<T>& type)
62 print(out, type, JBool<JClassDef<T>::value>());
73int main(
int argc,
char **argv)
82 JParser<> zap(
"Program to test JClassDef.");
88 catch(
const exception& error) {
89 FATAL(error.what() << endl);
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary template class for type bool.
Auxiliary class for a type holder.