Open CASCADE Technology
6.5.4
|
#include <STEPSelections_SelectInstances.hxx>
Public Member Functions | |
STEPSelections_SelectInstances () | |
Interface_EntityIterator | RootResult (const Interface_Graph &G) const |
Returns the list of selected entities. Works by calling the method Explore on each input entity : it can be rejected, taken for output, or to explore. If the maximum level has not yet been attained, or if no max level is specified, entities to be explored are themselves used as if they were input | |
Standard_Boolean | Explore (const Standard_Integer level, const Handle< Standard_Transient > &ent, const Interface_Graph &G, Interface_EntityIterator &explored) const |
Analyses and, if required, Explores an entity, as follows : The explored list starts as empty, it has to be filled by this method. If it returns False, <ent> is rejected for result (this is to be used only as safety) If it returns True and <explored> remains empty, <ent> is taken itself for result, not explored If it returns True and <explored> is not empty, the content of this list is considered : If maximum level is attained, it is taken for result Else (or no max), each of its entity will be itself explored | |
TCollection_AsciiString | ExploreLabel () const |
Returns a text defining the criterium : "Instances" | |
Protected Member Functions | |
virtual Standard_Boolean | HasUniqueResult () const |
Returns True if RootResult guarantees uniqueness for each Entity. Called by UniqueResult. Default answer is False. Can be redefined. |
Standard_Boolean STEPSelections_SelectInstances::Explore | ( | const Standard_Integer | level, |
const Handle< Standard_Transient > & | ent, | ||
const Interface_Graph & | G, | ||
Interface_EntityIterator & | explored | ||
) | const [virtual] |
Implements IFSelect_SelectExplore.
TCollection_AsciiString STEPSelections_SelectInstances::ExploreLabel | ( | ) | const [virtual] |
Implements IFSelect_SelectExplore.
virtual Standard_Boolean STEPSelections_SelectInstances::HasUniqueResult | ( | ) | const [protected, virtual] |
Reimplemented from IFSelect_Selection.
Interface_EntityIterator STEPSelections_SelectInstances::RootResult | ( | const Interface_Graph & | G | ) | const [virtual] |
Reimplemented from IFSelect_SelectExplore.