// 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 _Dynamic_MethodDefinition_HeaderFile #define _Dynamic_MethodDefinition_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Dynamic_MethodDefinition_HeaderFile #include #endif #ifndef _Handle_TCollection_HAsciiString_HeaderFile #include #endif #ifndef _Dynamic_Method_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_Dynamic_Parameter_HeaderFile #include #endif #ifndef _Dynamic_ModeEnum_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class TCollection_HAsciiString; class TCollection_AsciiString; class Dynamic_Parameter; //! This inherited class is for describing the
//! definition of a method. This definition is
//! composed by its name which is readable by the type
//! function and a collection of variables which
//! defines the signature of the method definition in
//! term of arguments passed to the function and also
//! the useful internal or constant variables if the
//! function is a composite method. This class is also
//! a deferred class and can not be used directly
//! because it is necessary to specify if the method
//! is compiled, interpreted or composite.
class Dynamic_MethodDefinition : public Dynamic_Method { public: //! Returns the name of the method definition.
Standard_EXPORT virtual TCollection_AsciiString Type() const; //! Adds a new variable created from the parameter
//! , which defines the name of the variable
//! its type and if necessary its default value, the mode
//! which precise if it is an in, out, inout,
//! internal or constant variable and the flag
//! for accepting a set of homogeneous variables. with
//! the parameter value .
Standard_EXPORT void AddVariable(const Handle(Dynamic_Parameter)& aparameter,const Dynamic_ModeEnum amode,const Standard_Boolean agroup = Standard_False) ; //! Useful for debugging.
Standard_EXPORT virtual void Dump(Standard_OStream& astream) const; DEFINE_STANDARD_RTTI(Dynamic_MethodDefinition) protected: //! Creates a MethodDefinition with as type.
Standard_EXPORT Dynamic_MethodDefinition(const Standard_CString aname); private: Handle_TCollection_HAsciiString thename; }; // other Inline functions and methods (like "C++: function call" methods) #endif