18int main(
int argc,
char **argv)
27 JParser<> zap(
"Example program to test tuple class.");
33 catch(
const exception &error) {
34 FATAL(error.what() << endl);
44 DEBUG(A.first << endl);
45 DEBUG(A.second.first << endl);
46 DEBUG(A.second.second << endl);
48 DEBUG(
"A = " << showpos << A << endl);
49 DEBUG(
"B = " << showpos << B << endl);
50 DEBUG(
"A + B = " << noshowpos << A+B << endl);
70 DEBUG(
"A = " << A << endl);
71 DEBUG(
"B = " << B << endl);
72 DEBUG(
"A + B = " << C << endl);
83 DEBUG(os.str() << endl);
85 ASSERT(os.str() ==
"1 aap 0.99",
"Test of JPP::make_tuple");
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
Data structure based on type list.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).