// 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_VariableInstance_HeaderFile #define _Dynamic_VariableInstance_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Dynamic_VariableInstance_HeaderFile #include #endif #ifndef _Handle_Dynamic_Variable_HeaderFile #include #endif #ifndef _Dynamic_AbstractVariableInstance_HeaderFile #include #endif class Dynamic_Variable; //! This class is set in the fields of the
//! MethodInstance class. When a MethodInstance is
//! done each variable of the definition must be
//! defined in the instance by a VariableInstance with
//! the same name as in the definition. If the method
//! instance is directly used by an application the
//! user value is directly set into the
//! VariableInstance. If now the MethodInstance enters
//! in the definition of a CompositMethod It is
//! necessary to define the correspondance between the
//! variables of the CompositMethod definition and the
//! use throughout the MethodInstance.
class Dynamic_VariableInstance : public Dynamic_AbstractVariableInstance { public: //! Returns a new empty instance of this class.
Standard_EXPORT Dynamic_VariableInstance(); //! Sets the variable into the
//! VariableInstance .
Standard_EXPORT virtual void Variable(const Handle(Dynamic_Variable)& avariable) ; //! Returns the variable contained into the
//! VariableInstance .
Standard_EXPORT Handle_Dynamic_Variable Variable() const; DEFINE_STANDARD_RTTI(Dynamic_VariableInstance) protected: private: Handle_Dynamic_Variable thevariable; }; // other Inline functions and methods (like "C++: function call" methods) #endif