18 std::cout <<
"__A__()";
24 std::cout <<
"~__A__()" << std::endl;
40 int main(
int argc,
char **argv)
48 JParser<> zap(
"Example program to test singleton.");
54 catch(
const exception &error) {
55 FATAL(error.what() << endl);
61 cout <<
"Test of getInstance()" << endl;
63 for (
int i = 0; i != 5; ++i) {
65 cout <<
"[" << i <<
"]" <<
' ' << flush;
69 cout <<
' ' <<
a.count;
74 cout <<
"Test of constructor()" << endl;
76 for (
int i = 0; i != 5; ++i) {
78 cout <<
"[" << i <<
"]" <<
' ' << flush;
82 cout <<
' ' <<
a.count <<
' ';
85 cout <<
"end of main" << endl;
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Utility class to parse command line options.
T & getInstance(const T &object)
Get static instance from temporary object.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).