19 int main(
int argc,
char **argv)
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;
48 in.
open(inputFile.c_str());
51 cout << *(in.
next()) << endl;
General purpose messaging.
int main(int argc, char **argv)
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Object reading from ASCII file.
virtual const pointer_type & next()=0
Get next element.
virtual bool hasNext()=0
Check availability of next element.
virtual void reset() override
Reset pointer.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual void close() override
Close device.
virtual void open(const char *file_name) override
Open device.
Auxiliary class for object reading with named access.