// 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 _IGESData_SingleParentEntity_HeaderFile #define _IGESData_SingleParentEntity_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESData_SingleParentEntity_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Handle_IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_OutOfRange; class IGESData_IGESEntity; //! a SingleParentEntity is a kind of IGESEntity which can refer
//! to a (Single) Parent, from Associativities list of an Entity
//! a effective SingleParent definition entity must inherit it
class IGESData_SingleParentEntity : public IGESData_IGESEntity { public: //! Returns the parent designated by the Entity, if only one !
Standard_EXPORT virtual Handle_IGESData_IGESEntity SingleParent() const = 0; //! Returns the count of Entities designated as children
Standard_EXPORT virtual Standard_Integer NbChildren() const = 0; //! Returns a Child given its rank
Standard_EXPORT virtual Handle_IGESData_IGESEntity Child(const Standard_Integer num) const = 0; DEFINE_STANDARD_RTTI(IGESData_SingleParentEntity) protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif