Example program to test JLANG::JObjectReader class.  
More...
#include <string>
#include <iostream>
#include <iomanip>
#include "JLang/JObjectReader.hh"
#include "JLang/JASCIIFileReader.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::JObjectReader class. 
- Author
 - mdejong 
 
Definition in file JObjectReader.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 19 of file JObjectReader.cc.
   28     JParser<> zap(
"Example program to test object reading.");
 
   35   catch(
const exception &error) {
 
   36     FATAL(error.what() << endl);
 
   42   typedef std::string  JType_t;
 
   44   JAccessibleObjectReader<JType_t> 
in;
 
   46   in.reset(
new JASCIIFileReader<JType_t>());
 
   48   in.open(inputFile.c_str());
 
   50   while (
in.hasNext()) {
 
   51     cout << *(
in.next()) << endl;
 
Utility class to parse command line options. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in