# 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::CCallMethod Class Reference

#include <opcode_call_method.h>

Inheritance diagram for NLAISCRIPT::CCallMethod:

NLAISCRIPT::ICallMethod NLAISCRIPT::IOpRunCode NLAISCRIPT::IOpCode NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CCallMethod (const CCallMethod &c)
 CCallMethod (IMethodContext *c, sint32 inheritance, sint32 i)
NLAIAGENT::TProcessStatement runOpCode (CCodeContext &context)
 Computation of the op-code with a given context. More...

void getDebugResult (std::string &str, CCodeContext &context) const
 gets debug string from the op-code. More...

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...

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

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

void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual ~CCallMethod ()

Static Public Attributes

const NLAIC::CIdentType IdCallMethode

Private Attributes

sint32 _Inheritance
sint32 _I

Constructor & Destructor Documentation

NLAISCRIPT::CCallMethod::CCallMethod const CCallMethod &    c [inline]
 

Definition at line 101 of file opcode_call_method.h.

References _I, _Inheritance, CCallMethod, and NLAISCRIPT::ICallMethod::ICallMethod.

Referenced by CCallMethod, and clone.

NLAISCRIPT::CCallMethod::CCallMethod IMethodContext   c,
sint32    inheritance,
sint32    i
[inline]
 

Definition at line 105 of file opcode_call_method.h.

References _I, _Inheritance, and NLAISCRIPT::ICallMethod::ICallMethod.

virtual NLAISCRIPT::CCallMethod::~CCallMethod   [inline, virtual]
 

Definition at line 147 of file opcode_call_method.h.


Member Function Documentation

const NLAIC::IBasicType* NLAISCRIPT::CCallMethod::clone   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 113 of file opcode_call_method.h.

References CCallMethod, and x.

Referenced by newInstance.

void NLAISCRIPT::CCallMethod::getDebugResult std::string &    str,
CCodeContext   context
const [virtual]
 

gets debug string from the op-code.

Implements NLAISCRIPT::IOpCode.

Definition at line 116 of file opcode_call_method.cpp.

References _I, _Inheritance, NLAIAGENT::IObjectIA::getMethodeMemberDebugString, NLAIC::IBasicType::getType, r, NLAIC::stringGetBuild, NLAIC::CTypeOfObject::tAgent, NLAIC::CTypeOfObject::tInterpret, and NLAIC::CTypeOfObject::tMessage.

const NLAIC::CIdentType& NLAISCRIPT::CCallMethod::getType   const [inline, 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).

Implements NLAIC::IBasicType.

Definition at line 122 of file opcode_call_method.h.

void NLAISCRIPT::CCallMethod::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 137 of file opcode_call_method.h.

References _I, _Inheritance, and NLMISC::IStream::serial.

const NLAIC::IBasicType* NLAISCRIPT::CCallMethod::newInstance   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 118 of file opcode_call_method.h.

References clone.

NLAIAGENT::TProcessStatement NLAISCRIPT::CCallMethod::runOpCode CCodeContext   context [virtual]
 

Computation of the op-code with a given context.

Implements NLAISCRIPT::IOpCode.

Definition at line 139 of file opcode_call_method.cpp.

References _I, _Inheritance, NLAISCRIPT::ICallMethod::loadConstext, and NLAISCRIPT::ICallMethod::saveConstext.

Referenced by NLAIAGENT::COperatorScript::getDebugString, NLAIAGENT::CAgentScript::getDebugString, and NLAIAGENT::CAgentScript::processMessages.

void NLAISCRIPT::CCallMethod::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 129 of file opcode_call_method.h.

References _I, _Inheritance, and NLMISC::IStream::serial.


Member Data Documentation

sint32 NLAISCRIPT::CCallMethod::_I [private]
 

Definition at line 97 of file opcode_call_method.h.

Referenced by CCallMethod, getDebugResult, load, runOpCode, and save.

sint32 NLAISCRIPT::CCallMethod::_Inheritance [private]
 

Definition at line 96 of file opcode_call_method.h.

Referenced by CCallMethod, getDebugResult, load, runOpCode, and save.

const NLAIC::CIdentType NLAISCRIPT::CCallMethod::IdCallMethode [static]
 

Initial value:

Definition at line 169 of file opcode_register.cpp.


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