Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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 :

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

     * 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>



Constructor & Destructor Documentation


Member Function Documentation

Handle_Dynamic_Parameter Dynamic_Variable::Parameter ( ) const

The documentation for this class was generated from the following file: