Open CASCADE Technology 6.6.0
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

IFSelect_SelectEntityNumber::IFSelect_SelectEntityNumber ( )

Member Function Documentation

TCollection_AsciiString IFSelect_SelectEntityNumber::Label ( ) const [virtual]

Implements IFSelect_Selection.

Handle_IFSelect_IntParam IFSelect_SelectEntityNumber::Number ( ) const
Interface_EntityIterator IFSelect_SelectEntityNumber::RootResult ( const Interface_Graph G) const [virtual]

Implements IFSelect_Selection.

void IFSelect_SelectEntityNumber::SetNumber ( const Handle< IFSelect_IntParam > &  num)

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