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)
29 JParser<> zap(
"Example program to test multi-dimensional key.");
35 catch(
const exception &error) {
36 FATAL(error.what() << endl);
49 a.second.second.first = 3;
53 b.second.second.first = 4;
55 PRINT(cout, a, b, ==);
57 PRINT(cout, a, b, <=);
59 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).