Example program to test JLANG::JTemplateReader and JLANG::JTemplateWriter classes.  
More...
#include <iostream>
#include <iomanip>
#include <sstream>
#include "JLang/JEquals.hh"
#include "JLang/JMultiEquals.hh"
#include "JLang/JTemplateWriter.hh"
#include "JLang/JTemplateReader.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::JTemplateReader and JLANG::JTemplateWriter classes. 
- Author
 - mdejong 
 
Definition in file JTemplateIO.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 140 of file JTemplateIO.cc.
  148     JParser<> zap(
"Example program to test template I/O.");
 
  154   catch(
const exception &error) {
 
  155     FATAL(error.what() << endl);
 
  160   const __D__ 
a(1,2,3);
 
  171     DEBUG(
"a = " << a << endl);
 
  172     DEBUG(
"b = " << b << endl);
 
  183     for (
int value, i = 0; io >> value; ++i) {
 
  185       const int c = io.get();
 
  187       ASSERT((i <  2 && c == (
int) 
'|') || 
 
  188              (i == 2 && c ==  EOF));
 
Utility class to parse command line options. 
 
#define ASSERT(A,...)
Assert macro. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
Template definition of auxiliary base class for composite data types which derive from one or more ba...
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG