Example program to test JLANG::JObjectWriter class.  
More...
#include <string>
#include <iostream>
#include <iomanip>
#include "JLang/JTypeList.hh"
#include "JLang/JObjectWriter.hh"
#include "JLang/JASCIIFileWriter.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::JObjectWriter class. 
- Author
 - mdejong 
 
Definition in file JObjectWriter.cc.
 
◆ main()
      
        
          | int main  | 
          ( | 
          int |           argc,  | 
        
        
           | 
           | 
          char ** |           argv ) | 
        
      
 
Definition at line 20 of file JObjectWriter.cc.
   21{
   23 
   26 
   27  try {
   28 
   29    JParser<> zap(
"Example program to test object writing class.");
 
   30 
   33 
   34    zap(argc, argv);
   35  }
   36  catch(const exception &error) {
   37    FATAL(error.what() << endl);
 
   38  }
   39 
   40 
   42  
   43  typedef 
   46  
   48 
   50 
   54  
   56}
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Object(s) writing to ASCII file.
 
virtual void reset() override
Reset pointer.
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
virtual void close() override
Close device.
 
virtual bool put(const T &object) override
Object output.
 
Auxiliary class for object writing with named access.