13 static const double A_MIN = -999.0;
14 static const double A_MAX = +999.0;
34 friend inline bool operator==(
const __A__& first,
const __A__& second)
36 return first.a == second.a;
46 friend inline std::ostream&
operator<<(std::ostream& out,
const __A__&
object)
48 return out <<
object.a;
51 static __A__ min() {
return __A__(A_MIN); }
52 static __A__ max() {
return __A__(A_MAX); }
66 inline void print(std::ostream& out,
const char* name)
74#define PRINT(OUT, CLASS) print<CLASS>(OUT, #CLASS)
84int main(
int argc,
char**argv)
92 JParser<> zap(
"Example program to test zero values of non-primitive data types.");
98 catch(
const exception &error) {
99 FATAL(error.what() << endl);
108 PRINT(cout,
long double);
int main(int argc, char **argv)
#define PRINT(OUT, CLASS)
Definition of minimum and maximum values for any class.
General purpose messaging.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
bool operator==(Packet const &p, ID const &id)
Auxiliary class for minimum and maximum values for any class.