// 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_ViewKindEntity_HeaderFile #define _IGESData_ViewKindEntity_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESData_ViewKindEntity_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_OutOfRange; //! defines required type for ViewKind in directory part
//! that is, Single view or Multiple view
//! An effective ViewKind entity must inherit it and define
//! IsSingle (True for Single, False for List of Views),
//! NbViews and ViewItem (especially for a List)
class IGESData_ViewKindEntity : public IGESData_IGESEntity { public: //! says if "me" is a Single View (True) or a List of Views (False)
Standard_EXPORT virtual Standard_Boolean IsSingle() const = 0; //! Returns the count of Views for a List of Views. For a Single
//! View, may return simply 1
Standard_EXPORT virtual Standard_Integer NbViews() const = 0; //! Returns the View n0. for a List of Views. For a Single
//! Views, may return itself
Standard_EXPORT virtual Handle_IGESData_ViewKindEntity ViewItem(const Standard_Integer num) const = 0; DEFINE_STANDARD_RTTI(IGESData_ViewKindEntity) protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif