19 int main(
int argc,
char **argv)
30 JParser<> zap(
"Example program to test file streaming.");
38 catch(
const exception &error) {
39 FATAL(error.what() << endl);
46 istream in (use_cin ? cin .rdbuf() : is.rdbuf());
47 ostream out(use_cout ? cout.rdbuf() : os.rdbuf());
58 cout <<
"out -> <" << flush; out << buffer << flush; cout <<
">" << endl;
59 cout <<
"null -> <" << flush;
null << buffer << flush; cout <<
">" << 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
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).