11#define PRINT(OUT, A, B, OP) do { OUT << A << ' ' << std::setw(2) << left << #OP << ' ' << B << " ?= " << (A OP B) << std::endl; } while (0)
20int main(
int argc,
char **argv)
28 JParser<> zap(
"Example program to test multi-dimensional key.");
34 catch(
const exception &error) {
35 FATAL(error.what() << endl);
50 a.second.second.first = 3;
54 b.second.second.first = 4;
56 PRINT(cout, a, b, ==);
58 PRINT(cout, a, b, <=);
60 PRINT(cout, a, b, >=);
General purpose messaging.
int main(int argc, char **argv)
#define PRINT(OUT, A, B, OP)
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).