Go to the documentation of this file.
   17 int main(
int argc, 
char **argv)
 
   25     JParser<> zap(
"Example program to test tuple class.");
 
   31   catch(
const exception &error) {
 
   32     FATAL(error.what() << endl);
 
   41     JTuple<typelist> A(+1, +2, +0.9999);
 
   42     JTuple<typelist> B(-A);
 
   44     cout << A.first         << endl;
 
   45     cout << A.second.first  << endl;
 
   46     cout << A.second.second << endl;
 
   48     cout << 
"A     =  " << showpos   <<  A  << endl;
 
   49     cout << 
"B     =  " << showpos   <<  B  << endl;
 
   50     cout << 
"A + B =  " << noshowpos << A+B << endl;
 
   52     cout << 
"A == A ? " << (A == A) << endl;
 
   53     cout << 
"A == B ? " << (A == B) << endl;
 
   68     cout << 
"A     =  " <<  A  << endl;
 
   69     cout << 
"B     =  " <<  B  << endl;
 
   70     cout << 
"A + B =  " << A+B << endl;   
 
   71     cout << 
"A == A ? " << (A == A) << endl;
 
   72     cout << 
"A == B ? " << (A == B) << endl;
 
  
int main(int argc, char **argv)
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object