#include <Cuts.hh>
List of all members.
Public Member Functions |
template<typename ClassToCheck > |
bool | accept (const ClassToCheck &) const |
template<typename ClassToCheck > |
bool | operator() (const ClassToCheck &x) const |
| Call operator alias for accept.
|
virtual bool | operator== (const Cut &) const =0 |
| Comparison to another Cut.
|
virtual | ~CutBase () |
| Default destructor.
|
template<> |
bool | accept (const CuttableBase &t) const |
Protected Member Functions |
virtual bool | _accept (const CuttableBase &) const =0 |
Detailed Description
Definition at line 10 of file Cuts.hh.
Constructor & Destructor Documentation
virtual ~CutBase |
( |
| ) |
[inline, virtual] |
Default destructor.
Definition at line 27 of file Cuts.hh.
Member Function Documentation
Implemented in CutsXor, CutInvert, CutsAnd, CutsOr, Cut_LessEq, Cut_Gtr, Cut_Less, Cut_GtrEq, Cut_NEq, Cut_Eq, and Open_Cut.
bool accept |
( |
const ClassToCheck & |
| ) |
const |
Main work method, checking whether the cut is passed
bool operator() |
( |
const ClassToCheck & |
x | ) |
const [inline] |
Call operator alias for accept.
- Note:
- A bit subtle, because this gets wrapped in a shared_ptr so you need to dereference to get the functor
Definition at line 21 of file Cuts.hh.
virtual bool operator== |
( |
const Cut & |
| ) |
const [pure virtual] |
Comparison to another Cut.
Implemented in CutsXor, CutInvert, CutsAnd, CutsOr, Cut_LessEq, Cut_Gtr, Cut_Less, Cut_GtrEq, Cut_NEq, Cut_Eq, and Open_Cut.
The documentation for this class was generated from the following files: