16 __C__(
const __A__&) {}
26 template<
class U,
class V>
27 inline void print(std::ostream& out,
const char* uname,
const char* vname)
32 out << setw(16) << left << string(
string(uname) +
string(
"(") +
string(vname) +
string(
")"));
46#define PRINT(OUT, U, V) print<U,V>(OUT, #U, #V)
55int main(
int argc,
char **argv)
64 JParser<> zap(
"Example program to test class inspection.");
70 catch(
const exception &error) {
71 FATAL(error.what() << endl);
74 if (
debug >= debug_t) {
76 cout << setw(16) << left <<
"name";
77 cout <<
" has constructor ";
80 PRINT(cout, __A__, __A__);
81 PRINT(cout, __C__, __A__);
82 PRINT(cout, __C__, __B__);
#define PRINT(OUT, U, V)
Print class parameters.
int main(int argc, char **argv)
General purpose messaging.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.
Template class test for availability of a suitable constructor JType_t(const JArgument_t).
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).