rivet is hosted by Hepforge, IPPP Durham
Inheritance diagram for CutInvert:
Collaboration diagram for CutInvert:

List of all members.

Public Member Functions

 CutInvert (const Cut &c1)
bool operator== (const Cut &c) const
 Comparison to another Cut.
template<typename ClassToCheck >
bool accept (const ClassToCheck &) const
template<>
bool accept (const CuttableBase &t) const

Protected Member Functions

bool _accept (const CuttableBase &o) const

Private Attributes

const Cut cut

Detailed Description

Definition at line 184 of file Cuts.cc.


Constructor & Destructor Documentation

CutInvert ( const Cut c1) [inline]

Definition at line 186 of file Cuts.cc.

: cut(c1) {}

Member Function Documentation

bool _accept ( const CuttableBase o) const [inline, protected, virtual]

Implements CutBase.

Definition at line 192 of file Cuts.cc.

References CutInvert::cut.

                                               {
      return !cut->accept(o);
    }
bool accept ( const ClassToCheck &  ) const [inherited]

Main work method.

bool accept ( const CuttableBase t) const [inherited]

Definition at line 26 of file Cuts.cc.

                                                                 {
    return _accept(t);
  }
bool operator== ( const Cut ) const [inline, virtual]

Comparison to another Cut.

Implements CutBase.

Definition at line 187 of file Cuts.cc.

References CutInvert::cut.

                                         {
      shared_ptr<CutInvert> cc = dynamic_pointer_cast<CutInvert>(c);
      return cc && cut == cc->cut;
    }

Member Data Documentation

const Cut cut [private]

Definition at line 196 of file Cuts.cc.

Referenced by CutInvert::_accept(), and CutInvert::operator==().


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