Open CASCADE Technology
6.5.4
|
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 :
More...
#include <Dynamic_Variable.hxx>
Public Member Functions | |
Dynamic_Variable () | |
Creates and returns an empty instance of this class. | |
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. | |
Handle_Dynamic_Parameter | Parameter () const |
Returns the parameter stored in <me>. | |
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. | |
Dynamic_ModeEnum | Mode () const |
Returns the mode of the variable. | |
void | Dump (Standard_OStream &astream) const |
Useful for debugging. |
* an identifier for giving it a name, <br> * a type of expected value, <br> * possibly a default value, <br> * a mode which explains if the variable is : <br>
void Dynamic_Variable::Dump | ( | Standard_OStream & | astream | ) | const |
void Dynamic_Variable::Mode | ( | const Dynamic_ModeEnum | amode | ) |
Dynamic_ModeEnum Dynamic_Variable::Mode | ( | ) | const |
void Dynamic_Variable::Parameter | ( | const Handle< Dynamic_Parameter > & | aparameter | ) |
Handle_Dynamic_Parameter Dynamic_Variable::Parameter | ( | ) | const |