19 static JStatic<int, __COUNTER__> A;
20 static JStatic<int, __COUNTER__> B;
21 static JStatic<int, __COUNTER__>
C;
36 int main(
int argc,
char **argv)
45 JParser<> zap(
"Example program to test static data member.");
51 catch(
const exception &error) {
52 FATAL(error.what() << endl);
60 __A__::F =
"hello world";
69 DEBUG(__A__::B << endl);
71 DEBUG(__A__::D << endl);
72 DEBUG(__A__::E << endl);
73 DEBUG(__A__::F << endl);
75 for (
int i = 1; i != 10; ++i) {
double getMean(vector< double > &v)
get mean of vector content
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
#define STATIC_DATA_MEMBER(TYPE)
Static data member declaration.
Utility class to parse command line options.
static const double C
Physics constants.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template data structure for static member declaration.