#include <IFSelect_SelectExplore.hxx>
Inheritance diagram for IFSelect_SelectExplore:
Public Member Functions | |
Standard_EXPORT Standard_Integer | Level () const |
Returns the required exploring level . | |
Standard_EXPORT 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 . | |
virtual Standard_EXPORT Standard_Boolean | Explore (const Standard_Integer level, const Handle(Standard_Transient)&ent, const Interface_Graph &G, Interface_EntityIterator &explored) const =0 |
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 . | |
Standard_EXPORT TCollection_AsciiString | Label () const |
Returns a text saying "(Recursive)" or "(Level nn)" plus specific criterium returned by ExploreLabel (see below) . | |
virtual Standard_EXPORT TCollection_AsciiString | ExploreLabel () const =0 |
Returns a text defining the way of exploration . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT | IFSelect_SelectExplore (const Standard_Integer level) |
Initializes a SelectExplore : the level must be specified on starting. 0 means all levels, 1 means level one only, etc... . | |
Private Attributes | |
Standard_Integer | thelevel |
|
|
|
|
|
|
Implements IFSelect_Selection. |
|
|
|
Implements IFSelect_Selection. Reimplemented in STEPSelections_SelectInstances. |
|
|