22 virtual int get()
const = 0;
28 static const int value = 1;
30 virtual int get()
const
39 static const int value = 2;
41 virtual int get()
const
54 int main(
int argc,
char **argv)
63 JParser<> zap(
"Example program to test object cloning.");
69 catch(
const exception &error) {
70 FATAL(error.what() << endl);
79 ASSERT(p->get() == __B__::value);
87 ASSERT(p->get() == __C__::value);
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
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template class for object cloning.