15int main(
int argc,
char **argv)
24 JParser<> zap(
"Example program to test combinatorics of pairs of indices.");
31 catch(
const exception &error) {
32 FATAL(error.what() << endl);
38 if (numberOfElements <= 0) {
39 FATAL(
"Number of elements " << numberOfElements <<
" <= 0" << endl);
51 STATUS(
"pair[" << setw(4) << i <<
"] => (" << setw(3) <<
pair.first <<
"," << setw(3) <<
pair.second <<
")" << endl);
58 setw(3) <<
pair.first <<
' ' <<
59 setw(3) <<
pair.second <<
' ' <<
65 NOTICE(
"Number of elements " << setw(8) << right << numberOfElements << endl);
67 NOTICE(
"Number of errors " << setw(8) << right << n << endl);
int main(int argc, char **argv)
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).