Example program to test JLANG::JObjectIterator class.  
More...
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include "JLang/JObjectIterator.hh"
#include "JLang/JStreamObjectIterator.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::JObjectIterator class. 
- Author
 - mdejong 
 
Definition in file JObjectIterator.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 20 of file JObjectIterator.cc.
   28     JParser<> zap(
"Example program to test object iteration.");
 
   34   catch(
const exception &error) {
 
   35     FATAL(error.what() << endl);
 
   43   for (
int i = 1; 
i != 5; ++
i) {
 
   49   JStreamObjectIterator<JType_t> 
in(buffer);
 
   51   for (
int i = 1; 
in.hasNext(); ++
i) {
 
   53     int value = *
in.next();
 
Utility class to parse command line options. 
 
#define ASSERT(A,...)
Assert macro. 
 
#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 JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
#define DEBUG(A)
Message macros.