Open CASCADE Technology
6.5.4
|
#include <NCollection_UBTree.hxx>
Public Member Functions | |
Selector () | |
virtual Standard_Boolean | Reject (const TheBndType &) const =0 |
virtual Standard_Boolean | Accept (const TheObjType &)=0 |
Standard_Boolean | Stop () const |
virtual | ~Selector () |
Protected Attributes | |
Standard_Boolean | myStop |
Class defining the minimal interface of selector.
NCollection_UBTree< TheObjType, TheBndType >::Selector::Selector | ( | ) | [inline] |
Constructor
virtual NCollection_UBTree< TheObjType, TheBndType >::Selector::~Selector | ( | ) | [inline, virtual] |
Destructor
virtual Standard_Boolean NCollection_UBTree< TheObjType, TheBndType >::Selector::Accept | ( | const TheObjType & | ) | [pure virtual] |
Confirm the object while making necessary tests on it. This method is called when the bounding box of the object conforms to the conditions (see Reject()). It is also supposed to keep record of accepted objects.
virtual Standard_Boolean NCollection_UBTree< TheObjType, TheBndType >::Selector::Reject | ( | const TheBndType & | ) | const [pure virtual] |
Rejection base on the bounding type.
Standard_Boolean NCollection_UBTree< TheObjType, TheBndType >::Selector::Stop | ( | ) | const [inline] |
This condition is checked after each call to Accept().
Standard_Boolean NCollection_UBTree< TheObjType, TheBndType >::Selector::myStop [protected] |
The method Accept() should set this flag if the selection process is to be stopped