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

A dynamic instance is a reference to the dynamic
class and a sequence of parameters which is the
complete listing of all the parameters of all the
inherited classes.
More...

#include <Dynamic_DynamicInstance.hxx>

Inheritance diagram for Dynamic_DynamicInstance:
Inheritance graph
[legend]

Public Member Functions

 Dynamic_DynamicInstance ()
 Creates an empty instance of this class.
More...
 
void Parameter (const Handle< Dynamic_Parameter > &aparameter)
 Adds <aparameter> to the sequence of parameters of
<me>.
More...
 
void Parameter (const Handle< Dynamic_DynamicInstance > &aninstance) const
 Adds all the parameters of <me>, to the sequence of
parameters of <aninstance>.
More...
 
void Parameter (const Standard_CString aparameter, const Standard_Integer avalue) const
 Puts the integer value <avalue> into the parameter
object identified by the string <aparameter>.
More...
 
void Parameter (const Standard_CString aparameter, const Standard_Real avalue) const
 Puts the real value <avalue> into the parameter
object identified by the string <aparameter>.
More...
 
void Parameter (const Standard_CString aparameter, const Standard_CString avalue) const
 Puts the string <avalue> into the parameter
object identified by the string <aparameter>.
More...
 
void Parameter (const Standard_CString aparameter, const Handle< Dynamic_DynamicInstance > &avalue) const
 Puts the dynamic instance <avalue> into the parameter
object identified by the string <aparameter>.
More...
 
Handle_Dynamic_Parameter Parameter (const Standard_CString aparameter) const
 Searches and returns the parameter object identified
by the string <aparameter>.
More...
 
void Class (const Handle< Dynamic_DynamicClass > &aclass)
 Sets the reference of the class.
More...
 
void Execute (const Standard_CString amethod) const
 Calls the method identified by the string <amethod>.
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...
 

Detailed Description

A dynamic instance is a reference to the dynamic
class and a sequence of parameters which is the
complete listing of all the parameters of all the
inherited classes.

Constructor & Destructor Documentation

Dynamic_DynamicInstance::Dynamic_DynamicInstance ( )

Creates an empty instance of this class.

Member Function Documentation

void Dynamic_DynamicInstance::Class ( const Handle< Dynamic_DynamicClass > &  aclass)

Sets the reference of the class.

void Dynamic_DynamicInstance::Execute ( const Standard_CString  amethod) const

Calls the method identified by the string <amethod>.

void Dynamic_DynamicInstance::Parameter ( const Handle< Dynamic_Parameter > &  aparameter)

Adds <aparameter> to the sequence of parameters of
<me>.

void Dynamic_DynamicInstance::Parameter ( const Handle< Dynamic_DynamicInstance > &  aninstance) const

Adds all the parameters of <me>, to the sequence of
parameters of <aninstance>.

void Dynamic_DynamicInstance::Parameter ( const Standard_CString  aparameter,
const Standard_Integer  avalue 
) const

Puts the integer value <avalue> into the parameter
object identified by the string <aparameter>.

void Dynamic_DynamicInstance::Parameter ( const Standard_CString  aparameter,
const Standard_Real  avalue 
) const

Puts the real value <avalue> into the parameter
object identified by the string <aparameter>.

void Dynamic_DynamicInstance::Parameter ( const Standard_CString  aparameter,
const Standard_CString  avalue 
) const

Puts the string <avalue> into the parameter
object identified by the string <aparameter>.

void Dynamic_DynamicInstance::Parameter ( const Standard_CString  aparameter,
const Handle< Dynamic_DynamicInstance > &  avalue 
) const

Puts the dynamic instance <avalue> into the parameter
object identified by the string <aparameter>.

Handle_Dynamic_Parameter Dynamic_DynamicInstance::Parameter ( const Standard_CString  aparameter) const

Searches and returns the parameter object identified
by the string <aparameter>.


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