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

The object of this class is to allow, as in the
C++ language, the possibility to define a
DynamicDerivedClass which inherits from one or
more DynamicClass.
More...

#include <Dynamic_DynamicDerivedClass.hxx>

Inheritance diagram for Dynamic_DynamicDerivedClass:
Inheritance graph
[legend]

Public Member Functions

 Dynamic_DynamicDerivedClass (const Standard_CString aname)
 Creates a new instance of this class with <aname> as name.
More...
 
void AddClass (const Handle< Dynamic_DynamicClass > &aclass)
 Adds another class <aclass> to the sequence of derived
classes.
More...
 
virtual Handle_Dynamic_Method Method (const Standard_CString amethod) const
 Starting with the name of a method, this redefined
method searches for the right method object in the
sequence of methods of the derived class and in all
the inherited classes.
More...
 
virtual
Handle_Dynamic_DynamicInstance 
Instance () const
 Defines an instance of this class definition.
More...
 
- Public Member Functions inherited from Dynamic_DynamicClass
 Dynamic_DynamicClass (const Standard_CString aname)
 Creates a new empty instance of DynamicClass.
More...
 
void Parameter (const Handle< Dynamic_Parameter > &aparameter)
 Adds another parameter <aparameter> to the sequence of
parameter definitions.
More...
 
void CompiledMethod (const Standard_CString amethod, const Standard_CString anaddress)
 Adds another method to the sequence of methods. It has
<amethod> as name and <anaddress> as mangled name of
the corresponding C++ function which must be called.
More...
 
void InterpretedMethod (const Standard_CString amethod, const Standard_CString afile)
 Adds another method to the sequence of methods. It
has <amethod> as name and <afile> as interpreted file.
More...
 
virtual 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...
 

Detailed Description

The object of this class is to allow, as in the
C++ language, the possibility to define a
DynamicDerivedClass which inherits from one or
more DynamicClass.

Constructor & Destructor Documentation

Dynamic_DynamicDerivedClass::Dynamic_DynamicDerivedClass ( const Standard_CString  aname)

Creates a new instance of this class with <aname> as name.

Member Function Documentation

void Dynamic_DynamicDerivedClass::AddClass ( const Handle< Dynamic_DynamicClass > &  aclass)

Adds another class <aclass> to the sequence of derived
classes.

virtual Handle_Dynamic_DynamicInstance Dynamic_DynamicDerivedClass::Instance ( ) const
virtual

Defines an instance of this class definition.

Reimplemented from Dynamic_DynamicClass.

virtual Handle_Dynamic_Method Dynamic_DynamicDerivedClass::Method ( const Standard_CString  amethod) const
virtual

Starting with the name of a method, this redefined
method searches for the right method object in the
sequence of methods of the derived class and in all
the inherited classes.

Reimplemented from Dynamic_DynamicClass.


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