#include #include #include #include "JSupport/JMultipleFileScanner.hh" #include "Jeep/JParser.hh" #include "Jeep/JMessage.hh" /** * \file * * Program to test parsing of JSUPPORT::JMultipleFileScanner. * \author mdejong */ int main(int argc, char **argv) { using namespace std; using namespace JPP; JMultipleFileScanner<> inputFile; int debug; try { JParser<> zap("Program to test parsing of JSUPPORT::JMultipleFileScanner."); zap['f'] = make_field(inputFile); zap['d'] = make_field(debug) = 2; zap(argc, argv); } catch(const exception& error) { FATAL(error.what() << endl); } cout << inputFile << endl; }