30 inline void print(std::ostream& out,
const JType<T>& type,
const std::true_type opton)
34 out <<
"ROOT " << T::Class_Name() << endl;
45 inline void print(std::ostream& out,
const JType<T>& type,
const std::false_type opton)
49 out <<
"C++ " <<
typeid(T).name() << endl;
59 inline void print(std::ostream& out,
const JType<T>& type)
61 print(out, type, std::bool_constant<JClassDef<T>::value>());
72int main(
int argc,
char **argv)
81 JParser<> zap(
"Program to test JClassDef.");
87 catch(
const exception& error) {
88 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 class for a type holder.