rivet is hosted by Hepforge, IPPP Durham

#include <Cuts.hh>

Inheritance diagram for CutBase:

List of all members.

Public Member Functions

template<typename ClassToCheck >
bool accept (const ClassToCheck &) const
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 19 of file Cuts.hh.


Constructor & Destructor Documentation

virtual ~CutBase ( ) [inline, virtual]

Default destructor.

Definition at line 27 of file Cuts.hh.

{}

Member Function Documentation

virtual bool _accept ( const CuttableBase ) const [protected, pure virtual]
bool accept ( const ClassToCheck &  ) const

Main work method.

bool accept ( const CuttableBase t) const

Definition at line 26 of file Cuts.cc.

                                                                 {
    return _accept(t);
  }
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, and Open_Cut.


The documentation for this class was generated from the following files: