Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Dynamic_DynamicClass Class Reference

A dynamic class is defined as a sequence of
parameters and as a sequence of methods. The
specifications are similar to C++ classes. The
class has to be defined in terms of fields
(Parameters) and methods. An instance of the class
must be made to set the fields and to use the
functionalities.

#include <Dynamic_DynamicClass.hxx>

Inheritance diagram for Dynamic_DynamicClass:
Inheritance graph
[legend]

Public Member Functions

 Dynamic_DynamicClass (const Standard_CString aname)
 Creates a new empty instance of DynamicClass.

void Parameter (const Handle< Dynamic_Parameter > &aparameter)
 Adds another parameter <aparameter> to the sequence of
parameter definitions.

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.

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.

virtual Handle_Dynamic_Method Method (const Standard_CString amethod) const
 Returns a reference to the method object identified by
the string <amethod>.

virtual
Handle_Dynamic_DynamicInstance 
Instance () const
 Returns an instance object of this class.

virtual void Dump (Standard_OStream &astream) const
 useful for debugging.


Constructor & Destructor Documentation


Member Function Documentation

virtual void Dynamic_DynamicClass::Dump ( Standard_OStream astream) const [virtual]
virtual Handle_Dynamic_DynamicInstance Dynamic_DynamicClass::Instance ( ) const [virtual]

Reimplemented in Dynamic_DynamicDerivedClass.

virtual Handle_Dynamic_Method Dynamic_DynamicClass::Method ( const Standard_CString  amethod) const [virtual]

Reimplemented in Dynamic_DynamicDerivedClass.


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