// 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 _IGESDefs_MacroDef_HeaderFile #define _IGESDefs_MacroDef_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESDefs_MacroDef_HeaderFile #include #endif #ifndef _Handle_TCollection_HAsciiString_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Interface_HArray1OfHAsciiString_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif class TCollection_HAsciiString; class Interface_HArray1OfHAsciiString; class Standard_OutOfRange; //! defines IGES Macro Definition Entity, Type <306> Form <0>
//! in package IGESDefs
//! This Class specifies the action of a specific MACRO.
//! After specification MACRO can be used as necessary
//! by means of MACRO class instance entity.
class IGESDefs_MacroDef : public IGESData_IGESEntity { public: Standard_EXPORT IGESDefs_MacroDef(); //! This method is used to set the fields of the class
//! MacroDef
//! - macro : MACRO
//! - entityTypeID : Entity Type ID
//! - langStatements : Language Statements
//! - endMacro : END MACRO
Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& macro,const Standard_Integer entityTypeID,const Handle(Interface_HArray1OfHAsciiString)& langStatements,const Handle(TCollection_HAsciiString)& endMacro) ; //! returns the number of language statements
Standard_EXPORT Standard_Integer NbStatements() const; //! returns the MACRO(Literal)
Standard_EXPORT Handle_TCollection_HAsciiString MACRO() const; //! returns the Entity Type ID
Standard_EXPORT Standard_Integer EntityTypeID() const; Standard_EXPORT Handle_TCollection_HAsciiString LanguageStatement(const Standard_Integer StatNum) const; //! returns the ENDM(Literal)
Standard_EXPORT Handle_TCollection_HAsciiString ENDMACRO() const; DEFINE_STANDARD_RTTI(IGESDefs_MacroDef) protected: private: Handle_TCollection_HAsciiString theMACRO; Standard_Integer theEntityTypeID; Handle_Interface_HArray1OfHAsciiString theLangStatements; Handle_TCollection_HAsciiString theENDMACRO; }; // other Inline functions and methods (like "C++: function call" methods) #endif