Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IFSelect_SelectEntityNumber Class Reference

A SelectEntityNumber gets in an InterfaceModel (through a
Graph), the Entity which has a specified Number (its rank of
adding into the Model) : there can be zero (if none) or one.
The Number is not directly defined as an Integer, but as a
Parameter, which can be externally controled

#include <IFSelect_SelectEntityNumber.hxx>

Inheritance diagram for IFSelect_SelectEntityNumber:
Inheritance graph
[legend]

Public Member Functions

 IFSelect_SelectEntityNumber ()
 Creates a SelectEntityNumber, initially with no specified Number

void SetNumber (const Handle< IFSelect_IntParam > &num)
 Sets Entity Number to be taken (initially, none is set : 0)

Handle_IFSelect_IntParam Number () const
 Returns specified Number (as a Parameter)

Interface_EntityIterator RootResult (const Interface_Graph &G) const
 Returns the list of selected entities : the Entity having the
specified Number (this result assures naturally uniqueness)

TCollection_AsciiString Label () const
 Returns a text defining the criterium : "Entity Number ..."


Constructor & Destructor Documentation


Member Function Documentation

Implements IFSelect_Selection.

Handle_IFSelect_IntParam IFSelect_SelectEntityNumber::Number ( ) const

Implements IFSelect_Selection.


The documentation for this class was generated from the following file: