// 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_Method_HeaderFile #define _Dynamic_Method_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Dynamic_Method_HeaderFile #include #endif #ifndef _Handle_Dynamic_VariableNode_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_Dynamic_Variable_HeaderFile #include #endif #ifndef _Handle_Dynamic_Parameter_HeaderFile #include #endif #ifndef _Dynamic_ModeEnum_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Dynamic_VariableNode; class TCollection_AsciiString; class Dynamic_Variable; class Dynamic_Parameter; //! This class is a root class available for the
//! definition of methods and also for using them
//! throughout method instances. The logical name of
//! the method and the signature as a collection of
//! variables is stored in it.
class Dynamic_Method : public MMgt_TShared { public: //! Returns the type of object which is the name of the
//! function definition.
Standard_EXPORT virtual TCollection_AsciiString Type() const = 0; //! Returns the first variable node of the Method which
//! contains a variable.
Standard_EXPORT Handle_Dynamic_VariableNode FirstVariableNode() const; //! Returns true if there is a variable with
//! as name, false otherwise.
Standard_EXPORT Standard_Boolean Variable(const Standard_CString avariable) const; //! Adds another variable to the sequence of
//! variable definitions.
Standard_EXPORT void Variable(const Handle(Dynamic_Variable)& avariable) ; //! Returns True, if there is a variable
//! previously stored in the instance and there is
//! the corresponding parameter value in the output
//! argument , False otherwise.
Standard_EXPORT Standard_Boolean Value(const Standard_CString aname,Handle(Dynamic_Parameter)& aparameter,Dynamic_ModeEnum& amode) const; //! Returns True, if there is a variable named
//! previously stored in the instance of and returns
//! the corresponding variable in the output argument
//! , False otherwise.
Standard_EXPORT Standard_Boolean Value(const Standard_CString aname,Handle(Dynamic_Variable)& avariable) const; //! Useful for debugging.
Standard_EXPORT virtual void Dump(Standard_OStream& astream) const; DEFINE_STANDARD_RTTI(Dynamic_Method) protected: //! It is the constructor of this deferred class
Standard_EXPORT Dynamic_Method(); private: Handle_Dynamic_VariableNode thefirstvariablenode; }; // other Inline functions and methods (like "C++: function call" methods) #endif