Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
IFSelect_SelectRoots Class Reference

A SelectRoots sorts the Entities which are local roots of a
set of Entities (not shared by other Entities inside this set,
even if they are shared by other Entities outside it)

#include <IFSelect_SelectRoots.hxx>

Inheritance diagram for IFSelect_SelectRoots:
Inheritance graph
[legend]

Public Member Functions

 IFSelect_SelectRoots ()
 Creates a SelectRoots

virtual Interface_EntityIterator RootResult (const Interface_Graph &G) const
 Returns the list of local roots. It is redefined for a purpose
of effeciency : calling a Sort routine for each Entity would
cost more ressource than to work in once using a Map
RootResult takes in account the Direct status

Standard_Boolean Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Returns always True, because RootResult has done work

TCollection_AsciiString ExtractLabel () const
 Returns a text defining the criterium : "Local Root Entities"

Protected Member Functions

virtual Standard_Boolean HasUniqueResult () const
 Returns True, because RootResult assures uniqueness


Constructor & Destructor Documentation

IFSelect_SelectRoots::IFSelect_SelectRoots ( )

Member Function Documentation

TCollection_AsciiString IFSelect_SelectRoots::ExtractLabel ( ) const [virtual]
virtual Standard_Boolean IFSelect_SelectRoots::HasUniqueResult ( ) const [protected, virtual]

Reimplemented from IFSelect_Selection.

virtual Interface_EntityIterator IFSelect_SelectRoots::RootResult ( const Interface_Graph G) const [virtual]

Reimplemented from IFSelect_SelectExtract.

Standard_Boolean IFSelect_SelectRoots::Sort ( const Standard_Integer  rank,
const Handle< Standard_Transient > &  ent,
const Handle< Interface_InterfaceModel > &  model 
) const [virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines