#include <IFSelect_SelectExtract.hxx>
Inheritance diagram for IFSelect_SelectExtract:
Public Member Functions | |
Standard_EXPORT Standard_Boolean | IsDirect () const |
Returns True if Sort criterium is Direct, False if Reverse . | |
Standard_EXPORT void | SetDirect (const Standard_Boolean direct) |
Sets Sort criterium sense to a new value (True : Direct , False : Reverse) . | |
virtual Standard_EXPORT Interface_EntityIterator | RootResult (const Interface_Graph &G) const |
Returns the list of selected entities. Works by calling the method Sort on each input Entity : the Entity is kept as output if Sort returns the same value as Direct status . | |
virtual Standard_EXPORT Standard_Boolean | Sort (const Standard_Integer rank, const Handle(Standard_Transient)&ent, const Handle(Interface_InterfaceModel)&model) const =0 |
Returns True for an Entity if it satisfies the Sort criterium It receives : - <rank>, the rank of the Entity in the Iteration, - <ent> , the Entity itself, and - <model>, the Starting Model Hence, the Entity to check is "model->Value(num)" (but an InterfaceModel allows other checks) This method is specific to each class of SelectExtract . | |
virtual Standard_EXPORT Standard_Boolean | SortInGraph (const Standard_Integer rank, const Handle(Standard_Transient)&ent, const Interface_Graph &G) const |
Works as Sort but works on the Graph Default directly calls Sort, but it can be redefined If SortInGraph is redefined, Sort should be defined even if not called (to avoid deferred methods in a final class) . | |
Standard_EXPORT TCollection_AsciiString | Label () const |
Returns a text saying "Picked" or "Removed", plus the specific criterium returned by ExtractLabel (see below) . | |
virtual Standard_EXPORT TCollection_AsciiString | ExtractLabel () const =0 |
Returns a text defining the criterium for extraction . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT | IFSelect_SelectExtract () |
Initializes a SelectExtract : enforces the sort to be Direct . | |
Private Attributes | |
Standard_Boolean | thesort |
|
|
|
|
|
|
|
Implements IFSelect_Selection. |
|
Implements IFSelect_Selection. Reimplemented in IFSelect_SelectFlag, IFSelect_SelectRootComps, IFSelect_SelectRoots, IFSelect_SelectSent, and STEPSelections_SelectForTransfer. |
|
|
|
|
Reimplemented in IFSelect_SelectSignature. |
|
|