Open CASCADE Technology 6.6.0
Public Member Functions
Dynamic_Variable Class Reference

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 :

More...

#include <Dynamic_Variable.hxx>

Inheritance diagram for Dynamic_Variable:
Inheritance graph
[legend]

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.


Detailed Description


Constructor & Destructor Documentation

Dynamic_Variable::Dynamic_Variable ( )

Member Function Documentation

void Dynamic_Variable::Dump ( Standard_OStream astream) const
Dynamic_ModeEnum Dynamic_Variable::Mode ( ) const
void Dynamic_Variable::Mode ( const Dynamic_ModeEnum  amode)
void Dynamic_Variable::Parameter ( const Handle< Dynamic_Parameter > &  aparameter)
Handle_Dynamic_Parameter Dynamic_Variable::Parameter ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines