Example program to test JLANG::JSinglePointer class.  
More...
#include <iostream>
#include <iomanip>
#include <vector>
#include "JLang/JSinglePointer.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::JSinglePointer class. 
- Author
 - mdejong 
 
Definition in file JSinglePointer.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 35 of file JSinglePointer.cc.
   43     JParser<> zap(
"Example program to test single pointer.");
 
   49   catch(
const exception &error) {
 
   50     FATAL(error.what() << endl);
 
   58   typedef JSinglePointer<__A__>   JSinglePointer_t;
 
   62   DEBUG(
"JSinglePointer::create()" << endl);
 
   68   for (
int i = 0; i != 
N; ++i) {
 
   70     DEBUG(
"buffer.push_back() " << i << endl);
 
   75   for (
int i = 0; i != 
N; ++i) {
 
   76     DEBUG(
"buffer[" << i << 
"] is valid? " << buffer[i].
is_valid() << endl);
 
   79   for (
int i = 0; i != 
N; ++i) {
 
Utility class to parse command line options. 
 
#define ASSERT(A,...)
Assert macro. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
bool is_valid(const json &js)
Check validity of JSon data. 
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
then usage $script[input file[working directory[option]]] nWhere option can be N