|
Open CASCADE Technology
6.7.1
|
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.
More...
#include <Dynamic_VariableInstance.hxx>

Public Member Functions | |
| Dynamic_VariableInstance () | |
| Returns a new empty instance of this class. More... | |
| virtual void | Variable (const Handle< Dynamic_Variable > &avariable) |
| Sets the variable <avariable> into the VariableInstance <me>. More... | |
| Handle_Dynamic_Variable | Variable () const |
| Returns the variable contained into the VariableInstance <me>. More... | |
Public Member Functions inherited from Dynamic_Variable | |
| Dynamic_Variable () | |
| Creates and returns an empty instance of this class. More... | |
| void | Parameter (const Handle< Dynamic_Parameter > &aparameter) |
| Sets the parameter <aparameter> in <me>. This parameter gives the name, the type of value, and if necessary the default value of the variable. More... | |
| Handle_Dynamic_Parameter | Parameter () const |
| Returns the parameter stored in <me>. More... | |
| void | Mode (const Dynamic_ModeEnum amode) |
| 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. More... | |
| Dynamic_ModeEnum | Mode () const |
| Returns the mode of the variable. More... | |
| void | Dump (Standard_OStream &astream) const |
| Useful for debugging. More... | |
Public Member Functions inherited from MMgt_TShared | |
| virtual void | Delete () const |
| Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor. More... | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing. More... | |
| Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More... | |
| virtual | ~Standard_Transient () |
| Destructor must be virtual. More... | |
| virtual void | ShallowDump (Standard_OStream &) const |
| virtual const Handle_Standard_Type & | DynamicType () const |
| Returns a type information object about this object. More... | |
| Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
| Returns a true value if this is an instance of Type. More... | |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More... | |
| Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| virtual Handle_Standard_Transient | This () const |
| Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
| Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Dynamic_AbstractVariableInstance | |
| Dynamic_AbstractVariableInstance () | |
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.
| Dynamic_VariableInstance::Dynamic_VariableInstance | ( | ) |
Returns a new empty instance of this class.
|
virtual |
Sets the variable <avariable> into the
VariableInstance <me>.
Implements Dynamic_AbstractVariableInstance.
| Handle_Dynamic_Variable Dynamic_VariableInstance::Variable | ( | ) | const |
Returns the variable contained into the
VariableInstance <me>.
1.8.5