// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IFSelect_SelectEntityNumber_HeaderFile #define _IFSelect_SelectEntityNumber_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IFSelect_SelectEntityNumber_HeaderFile #include #endif #ifndef _Handle_IFSelect_IntParam_HeaderFile #include #endif #ifndef _IFSelect_SelectBase_HeaderFile #include #endif class IFSelect_IntParam; class Interface_EntityIterator; class Interface_Graph; class TCollection_AsciiString; //! 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
class IFSelect_SelectEntityNumber : public IFSelect_SelectBase { public: //! Creates a SelectEntityNumber, initially with no specified Number
Standard_EXPORT IFSelect_SelectEntityNumber(); //! Sets Entity Number to be taken (initially, none is set : 0)
Standard_EXPORT void SetNumber(const Handle(IFSelect_IntParam)& num) ; //! Returns specified Number (as a Parameter)
Standard_EXPORT Handle_IFSelect_IntParam Number() const; //! Returns the list of selected entities : the Entity having the
//! specified Number (this result assures naturally uniqueness)
Standard_EXPORT Interface_EntityIterator RootResult(const Interface_Graph& G) const; //! Returns a text defining the criterium : "Entity Number ..."
Standard_EXPORT TCollection_AsciiString Label() const; DEFINE_STANDARD_RTTI(IFSelect_SelectEntityNumber) protected: private: Handle_IFSelect_IntParam thenum; }; // other Inline functions and methods (like "C++: function call" methods) #endif