20 int main(
int argc, 
char **argv)
 
   28     JParser<> zap(
"Example program to test redirection of I/O streams.");
 
   34   catch(
const exception &error) {
 
   35     FATAL(error.what() << endl);
 
   41   string message = 
"hello world";
 
   48     NOTICE(
"The message <" << message << 
"> is re-directed to <null> if debug < " << 
JEEP::debug_t << endl);
 
   52     cout << message << flush;
 
   55   NOTICE(
"result <" << os.str() << 
">" << endl);
 
   62     NOTICE(
"The following input message is re-directed to <null> if debug < " << 
JEEP::debug_t << endl);
 
   68     DEBUG(
"message <" << message << 
">" << endl);
 
   71   NOTICE(
"result <" << is.str() << 
">" << 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 one output (input) stream to another output (input) st...
 
Utility class to parse command line options.
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).