24 int main(
int argc,
char **argv)
33 JParser<> zap(
"Example program to test byte array I/O.");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
46 string s1 =
"hello world";
51 for (
double x = 0.0;
x < 10.5;
x += 1.0) {
57 l1.push_back(
"hello");
58 l1.push_back(
"world");
68 out << i1 << x1 << s1 << v1 << l1 << m1 << o1;
70 DEBUG(
"Buffer size " << out.size() << endl);
85 in >> i2 >> x2 >> s2 >> v2 >> l2 >> m2 >> o2;
int main(int argc, char **argv)
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
STD extensions for binary I/O.
Byte array binary output.
Auxiliary class for object identification.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).