22 bool less(
const __A__&
object)
const
24 return this->value <
object.value;
27 friend std::ostream&
operator<<(std::ostream& out,
const __A__&
object)
29 return out <<
object.value;
40 __B__(
const int __value) :
44 bool less(
const __B__&
object)
const
46 return this->value <
object.value;
49 bool less(
const int value)
const
51 return this->value < value;
54 bool more(
const int value)
const
56 return this->value > value;
59 friend std::ostream&
operator<<(std::ostream& out,
const __B__&
object)
61 return out <<
object.value;
75#define PRINT(OUT,OP,A,B) \
76 OUT << "(" << A << ") " << #OP " (" << B << ") => " << (A OP B) << std::endl;
94 JParser<> zap(
"Example program to test comparisons of objects.");
100 catch(
const exception &error) {
int main(int argc, char **argv)
#define PRINT(OUT, OP, A, B)
Print.
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
Template definition of a multi-dimensional oscillation probability interpolation table.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template definition of auxiliary base class for comparison of data structures.