18int main(
int argc,
char **argv)
27 JParser<> zap(
"Example program to test redirection of I/O streams.");
34 catch(
const exception &error) {
35 FATAL(error.what() << endl);
49 DEBUG(
"Message " << message << endl);
50 DEBUG(
"Redirect " << buffer << endl);
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
This class can be used to temporarily redirect an input stream to an input string.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).