// 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_Variable_HeaderFile #define _Dynamic_Variable_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Dynamic_Variable_HeaderFile #include #endif #ifndef _Handle_Dynamic_Parameter_HeaderFile #include #endif #ifndef _Dynamic_ModeEnum_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Dynamic_Parameter; //! This class is the root class for describing
//! variables. A variable is useful to specify the
//! signature of a method in terms of arguments and if
//! necessary variables and/or constants needed inside
//! a function. This set of information defines a
//! scope for these variables. This class is directly
//! used by the MethodDefinition class. From this
//! class is derived the instances of variables which
//! are used by the classes under the MethodInstance
//! class. A variable is composed by :
//!
//! * an identifier for giving it a name,
//! * a type of expected value,
//! * possibly a default value,
//! * a mode which explains if the variable is :
//!
//! - an input and/or output argument to the method,
//! - an internal or constant variable used in the
//! body of the method.
class Dynamic_Variable : public MMgt_TShared { public: //! Creates and returns an empty instance of this class.
Standard_EXPORT Dynamic_Variable(); //! Sets the parameter in . This
//! parameter gives the name, the type of value, and if
//! necessary the default value of the variable.
Standard_EXPORT void Parameter(const Handle(Dynamic_Parameter)& aparameter) ; //! Returns the parameter stored in .
Standard_EXPORT Handle_Dynamic_Parameter Parameter() const; //! Sets the mode to the variable. the mode is to take in
//! the enumeration IN, OUT, INOUT, INTERNAL, CONSTANT,
//! which describes the type of the variable.
Standard_EXPORT void Mode(const Dynamic_ModeEnum amode) ; //! Returns the mode of the variable.
Standard_EXPORT Dynamic_ModeEnum Mode() const; //! Useful for debugging.
Standard_EXPORT void Dump(Standard_OStream& astream) const; DEFINE_STANDARD_RTTI(Dynamic_Variable) protected: private: Handle_Dynamic_Parameter theparameter; Dynamic_ModeEnum themode; }; // other Inline functions and methods (like "C++: function call" methods) #endif