15 static char get() {
return 'A'; }
18 struct __B__ :
public __A__ {
19 static char get() {
return 'B'; }
22 struct __C__ :
public __A__ {
23 static char get() {
return 'C'; }
26 struct __D__ :
public __A__ {
27 static char get() {
return 'D'; }
38int main(
int argc,
char **argv)
46 JParser<> zap(
"Example program to test selection of base class.");
52 catch(
const exception &error) {
53 FATAL(error.what() << endl);
61 __D__>::typelist typelistABCD;
66 __D__>::typelist typelistBACD;
71 __D__>::typelist typelistBCAD;
76 __A__>::typelist typelistBCDA;
int main(int argc, char **argv)
Auxiliary class to identify common base class in type list.
General purpose messaging.
#define DEBUG(A)
Message macros.
#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 definition of class to look for base class in type list.
Template class to test for polymorphism.
Auxiliary class for recursive type list generation.