Example program to test JLANG::JObject class.  
More...
#include <iostream>
#include <iomanip>
#include <vector>
#include <iterator>
#include "JLang/JObject.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
 
Go to the source code of this file.
 | 
| int  | main (int argc, char **argv) | 
|   | 
Example program to test JLANG::JObject class. 
- Author
 - mdejong 
 
Definition in file JObject.cc.
 
◆ main()
      
        
          | int main  | 
          ( | 
          int |           argc,  | 
        
        
           | 
           | 
          char ** |           argv ) | 
        
      
 
Definition at line 59 of file JObject.cc.
   60{
   62 
   64 
   65  try {
   66 
   67    JParser<> zap(
"Example program to test object.");
 
   68 
   70 
   71    zap(argc, argv);
   72  }
   73  catch(const exception &error) {
   74    FATAL(error.what() << endl);
 
   75  }
   76 
   77 
   79 
   81 
   84  
   85  
   86  for (buffer_type::const_iterator i = buffer.begin(); i != buffer.end(); ++i) {
   87    cout << *i << endl;
   88  }
   89}
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Utility class to parse command line options.
 
T & getInstance(const T &object)
Get static instance from temporary object.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).