Go to the documentation of this file.
28 bool equals(
const __A__&
object)
const
30 return this->value ==
object.value;
33 friend std::ostream&
operator<<(std::ostream& out,
const __A__&
object)
35 return out <<
object.value;
53 bool equals(
const __B__&
object)
const
55 return this->value ==
object.value;
58 friend std::ostream&
operator<<(std::ostream& out,
const __B__&
object)
60 return out <<
object.value;
70 public JMultiEquals<__C__, JTYPELIST<__A__, __B__>::typelist>
78 friend std::ostream&
operator<<(std::ostream& out,
const __C__&
object)
80 return out << static_cast<const __A__&>(
object) <<
' '
81 << static_cast<const __B__&>(
object);
94 #define PRINT(OUT,OP,A,B) \
95 OUT << "(" << A << ") " << #OP " (" << B << ") => " << (A OP B) << std::endl;
104 int main(
int argc,
char **argv)
113 JParser<> zap(
"Example program to test object comparisons.");
119 catch(
const exception &error) {
120 FATAL(error.what() << endl);
#define ASSERT(A,...)
Assert macro.
Template definition of auxiliary base class for comparison of data structures.
TCanvas * c1
Global variables to handle mouse events.
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
int main(int argc, char **argv)
Template definition of auxiliary base class for composite data structures composed of base classes wi...
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define PRINT(OUT, OP, A, B)
Print.