Belle II Software  release-08-01-10
EqualVisitor Struct Reference

Seperate Visitor struct for equal_to comparison of variant<double, int bool>. More...

#include <CutNodes.h>

Public Member Functions

bool operator() (const double &val0, const double &val1)
 double double overload with double comparison.
 
bool operator() (const double &val0, const int &val1)
 double int overload with double comparison.
 
bool operator() (const double &val0, const bool &val1)
 double bool overload with double comparison.
 
bool operator() (const int &val0, const int &val1)
 int int overload with int comparison.
 
bool operator() (const int &val0, const bool &val1)
 int bool overload with int comparison.
 
bool operator() (const int &val0, const double &val1)
 int double overload with double comparison.
 
bool operator() (const bool &val0, const bool &val1)
 bool bool overload with bool comparison.
 
bool operator() (const bool &val0, const double &val1)
 bool double overload with double comparison.
 
bool operator() (const bool &val0, const int &val1)
 bool int overload with int comparison.
 

Detailed Description

Seperate Visitor struct for equal_to comparison of variant<double, int bool>.

Uses almostEqualDouble if one argument is double.

Definition at line 125 of file CutNodes.h.


The documentation for this struct was generated from the following file: