Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
Dynamic_CompositVariableInstance Class Reference

This class corresponds to the instanciation of a
variable group. It allows the setting of more than
one variable in a variable instance. It is useful
when a method takes a collection of homogeneous
objects as argument. For example a wire needs
edges as argument.
More...

#include <Dynamic_CompositVariableInstance.hxx>

Inheritance diagram for Dynamic_CompositVariableInstance:
Inheritance graph
[legend]

Public Member Functions

 Dynamic_CompositVariableInstance ()
 Creates a new empty instance of CompositVariable-
Instance.
More...
 
virtual void Variable (const Handle< Dynamic_Variable > &avariable)
 Sets <avariable> into the collection of variable.
More...
 
Handle_Dynamic_VariableNode FirstVariableNode () const
 Returns the first VariableNode useful to explore the
list of variables addressed by <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_Transientoperator= (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 ()
 

Detailed Description

This class corresponds to the instanciation of a
variable group. It allows the setting of more than
one variable in a variable instance. It is useful
when a method takes a collection of homogeneous
objects as argument. For example a wire needs
edges as argument.

Constructor & Destructor Documentation

Dynamic_CompositVariableInstance::Dynamic_CompositVariableInstance ( )

Creates a new empty instance of CompositVariable-
Instance.

Member Function Documentation

Handle_Dynamic_VariableNode Dynamic_CompositVariableInstance::FirstVariableNode ( ) const

Returns the first VariableNode useful to explore the
list of variables addressed by <me>.

virtual void Dynamic_CompositVariableInstance::Variable ( const Handle< Dynamic_Variable > &  avariable)
virtual

Sets <avariable> into the collection of variable.

Implements Dynamic_AbstractVariableInstance.


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