31int main(
int argc,
char **argv)
40 JParser<> zap(
"Example program to test groups.");
46 catch(
const exception &error) {
47 FATAL(error.what() << endl);
54 for (
int i = 0; i != N; ++i) {
55 DEBUG(i <<
' ' << getElement(i) << endl);
60 for (
int i = 0; i != N; ++i) {
61 ASSERT(getElement(i) == (
double) i,
"Test element access.");
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
Utility class to parse command line options.
Auxiliary classes and methods for language specific functionality.
static const JGroup< double > & getElement
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for a fixed group of objects.
static const JGroup & getInstance()
Get unique instance.