# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAISCRIPT::CMethodeName Class Reference

Class CMethodeName. More...

#include <interpret_methodes.h>

Inheritance diagram for NLAISCRIPT::CMethodeName

Inheritance graph
[legend]
Collaboration diagram for NLAISCRIPT::CMethodeName:

Collaboration graph
[legend]
List of all members.

Public Methods

 CMethodeName (const NLAIAGENT::IVarName &name)
 CMethodeName (const CMethodeName &)
 CMethodeName ()
virtual ~CMethodeName ()
void setName (const NLAIAGENT::IVarName &name)
const NLAIAGENT::IVarNamegetName () const
void setParam (const CParam &p)
void setTypeOfMethode (IOpType *)
CParamgetParam ()
void setCode (IOpCode *c)
IOpCodegetCode ()
const IOpTypegetTypeOfMethode () const
NLAIC::IBasicInterface and NLAIAGENT::IObjectIA method.
void load (NLMISC::IStream &)
 Load the class from a stream. More...

void save (NLMISC::IStream &)
 Save the class in a stream. More...

virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual void getDebugString (char *) const
 This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...

virtual bool isEqual (const NLAIAGENT::IBasicObjectIA &) const
virtual const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...


Static Public Attributes

const NLAIC::CIdentType IdMethodeName

Private Attributes

NLAIAGENT::IVarName_MethodeName
 Name of the method. More...

IOpCode_Code
 op code pointer for run method. More...

CParam _Param
 _Param is the rgument of the method. More...

IOpType_TypeOfMethode
 Type of return expression. More...


Detailed Description

Class CMethodeName.

This class define what a method is. A methid have a name, argument, a branche code ant a return type.

Author(s):
Chafik sameh , Nevrax France
Date:
2000

Definition at line 135 of file interpret_methodes.h.


Constructor & Destructor Documentation

NLAISCRIPT::CMethodeName::CMethodeName ( const NLAIAGENT::IVarName & name )
 

Definition at line 292 of file interpret_methodes.cpp.

NLAISCRIPT::CMethodeName::CMethodeName ( const CMethodeName & c )
 

Definition at line 314 of file interpret_methodes.cpp.

NLAISCRIPT::CMethodeName::CMethodeName ( )
 

Definition at line 296 of file interpret_methodes.cpp.

NLAISCRIPT::CMethodeName::~CMethodeName ( ) [virtual]
 

Definition at line 300 of file interpret_methodes.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAISCRIPT::CMethodeName::clone ( void ) const [virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Reimplemented from NLAIC::IBasicType.

Definition at line 327 of file interpret_methodes.cpp.

IOpCode * NLAISCRIPT::CMethodeName::getCode ( )
 

Definition at line 372 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::getDebugString ( char * t ) const [virtual]
 

This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.

Reimplemented from NLAIC::IBasicType.

Definition at line 389 of file interpret_methodes.cpp.

const NLAIAGENT::IVarName & NLAISCRIPT::CMethodeName::getName ( ) const
 

Definition at line 349 of file interpret_methodes.cpp.

CParam & NLAISCRIPT::CMethodeName::getParam ( )
 

Definition at line 362 of file interpret_methodes.cpp.

const NLAIC::CIdentType & NLAISCRIPT::CMethodeName::getType ( void ) const [virtual]
 

getType return a unique string how represente the class, it can be the name of the class.

This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).

Reimplemented from NLAIC::IBasicType.

Definition at line 430 of file interpret_methodes.cpp.

const IOpType * NLAISCRIPT::CMethodeName::getTypeOfMethode ( ) const
 

Definition at line 384 of file interpret_methodes.cpp.

bool NLAISCRIPT::CMethodeName::isEqual ( const NLAIAGENT::IBasicObjectIA & ) const [virtual]
 

Definition at line 419 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 405 of file interpret_methodes.cpp.

const NLAIC::IBasicType * NLAISCRIPT::CMethodeName::newInstance ( void ) const [virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Reimplemented from NLAIC::IBasicType.

Definition at line 333 of file interpret_methodes.cpp.

const NLAIAGENT::IObjectIA::CProcessResult & NLAISCRIPT::CMethodeName::run ( void ) [virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 425 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 396 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::setCode ( IOpCode * c )
 

Definition at line 367 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::setName ( const NLAIAGENT::IVarName & name )
 

Definition at line 340 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::setParam ( const CParam & p )
 

Definition at line 357 of file interpret_methodes.cpp.

void NLAISCRIPT::CMethodeName::setTypeOfMethode ( IOpType * id )
 

Definition at line 377 of file interpret_methodes.cpp.


Member Data Documentation

const NLAIC::CIdentType NLAISCRIPT::CMethodeName::IdMethodeName [static]
 

Definition at line 148 of file interpret_methodes.h.

IOpCode * NLAISCRIPT::CMethodeName::_Code [private]
 

op code pointer for run method.

Definition at line 141 of file interpret_methodes.h.

NLAIAGENT::IVarName * NLAISCRIPT::CMethodeName::_MethodeName [private]
 

Name of the method.

Definition at line 139 of file interpret_methodes.h.

CParam NLAISCRIPT::CMethodeName::_Param [private]
 

_Param is the rgument of the method.

Definition at line 143 of file interpret_methodes.h.

IOpType * NLAISCRIPT::CMethodeName::_TypeOfMethode [private]
 

Type of return expression.

Definition at line 145 of file interpret_methodes.h.


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