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

A composite method is defined as a collection of
method instances. This collection describes a more
complex program or a network of elementary
functions. The order of the method instances is
not significant. It is the references to the
variables which define the signature of the
composite method which define the precedence of
one method in relation with another.
More...

#include <Dynamic_CompositMethod.hxx>

Inheritance diagram for Dynamic_CompositMethod:
Inheritance graph
[legend]

Public Member Functions

 Dynamic_CompositMethod (const Standard_CString aname)
 Creates a composit method with <aname> as name.
More...
 
void Method (const Handle< Dynamic_Method > &amethod)
 Adds <amethod>, which is an elementary or a composit
method to <me>.
More...
 
Standard_Integer NumberOfMethods () const
 Returns the number of methods referenced by the
composit method <me>.
More...
 
Handle_Dynamic_Method Method (const Standard_Integer anindex) const
 Returns the method of range <anindex>.
More...
 
virtual void Dump (Standard_OStream &astream) const
 Useful for debugging.
More...
 
- Public Member Functions inherited from Dynamic_MethodDefinition
virtual TCollection_AsciiString Type () const
 Returns the name of the method definition.
More...
 
void AddVariable (const Handle< Dynamic_Parameter > &aparameter, const Dynamic_ModeEnum amode, const Standard_Boolean agroup=Standard_False)
 Adds a new variable created from the parameter
<aparameter>, which defines the name of the variable
its type and if necessary its default value, the mode
<amode> which precise if it is an in, out, inout,
internal or constant variable and the flag <agroup>
for accepting a set of homogeneous variables. with
the parameter value <aparameter>.
More...
 
- Public Member Functions inherited from Dynamic_Method
Handle_Dynamic_VariableNode FirstVariableNode () const
 Returns the first variable node of the Method which
contains a variable.
More...
 
Standard_Boolean Variable (const Standard_CString avariable) const
 Returns true if there is a variable with <avariable>
as name, false otherwise.
More...
 
void Variable (const Handle< Dynamic_Variable > &avariable)
 Adds another variable <avariable> to the sequence of
variable definitions.
More...
 
Standard_Boolean Value (const Standard_CString aname, Handle< Dynamic_Parameter > &aparameter, Dynamic_ModeEnum &amode) const
 Returns True, if there is a variable <avariable>
previously stored in the instance <me> and there is
the corresponding parameter value in the output
argument <aparameter>, False otherwise.
More...
 
Standard_Boolean Value (const Standard_CString aname, Handle< Dynamic_Variable > &avariable) const
 Returns True, if there is a variable named <aname>
previously stored in the instance of <me> and returns
the corresponding variable in the output argument
<avariable>, False otherwise.
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_MethodDefinition
 Dynamic_MethodDefinition (const Standard_CString aname)
 Creates a MethodDefinition with <aname> as type.
More...
 
- Protected Member Functions inherited from Dynamic_Method
 Dynamic_Method ()
 It is the constructor of this deferred class
More...
 

Detailed Description

A composite method is defined as a collection of
method instances. This collection describes a more
complex program or a network of elementary
functions. The order of the method instances is
not significant. It is the references to the
variables which define the signature of the
composite method which define the precedence of
one method in relation with another.

Constructor & Destructor Documentation

Dynamic_CompositMethod::Dynamic_CompositMethod ( const Standard_CString  aname)

Creates a composit method with <aname> as name.

Member Function Documentation

virtual void Dynamic_CompositMethod::Dump ( Standard_OStream astream) const
virtual

Useful for debugging.

Reimplemented from Dynamic_MethodDefinition.

void Dynamic_CompositMethod::Method ( const Handle< Dynamic_Method > &  amethod)

Adds <amethod>, which is an elementary or a composit
method to <me>.

Handle_Dynamic_Method Dynamic_CompositMethod::Method ( const Standard_Integer  anindex) const

Returns the method of range <anindex>.

Standard_Integer Dynamic_CompositMethod::NumberOfMethods ( ) const

Returns the number of methods referenced by the
composit method <me>.


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