#include <iostream>
#include <iomanip>
#include "JSystem/JGlob.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 for JGlob.  
  | 
|   | 
◆ main()
      
        
          | int main  | 
          ( | 
          int |           argc,  | 
        
        
           | 
           | 
          char ** |           argv ) | 
        
      
 
Example program for JGlob. 
Definition at line 12 of file JGlob.cc.
   13{
   16 
   17  string  pattern;
   19 
   20  try {
   21 
   22    JParser<> zap(
"Example program for JGlob.");
 
   23 
   26 
   27    zap(argc, argv);
   28  }
   29  catch(const exception &error) {
   30    FATAL(error.what() << endl);
 
   31  }
   32 
   33  DEBUG(
"pattern <" << pattern << 
">." << endl);
 
   34 
   35  try {
   36    
   38 
   39    for (
const auto& i : 
g1) {
 
   40      cout << i << endl;
   41    }
   42  }
   43  catch(const exception& error) {
   44    FATAL(error.what() << endl);
 
   45  }
   46}
#define DEBUG(A)
Message macros.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
Double_t g1(const Double_t x)
Function.
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary class to list files.