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

Call a method from a defined IObjectIA object. More...

#include <opcode_call_lib_method.h>

Inheritance diagram for NLAISCRIPT::CLibCallMethod:

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

Public Methods

 CLibCallMethod (sint32 id, const NLAIAGENT::IObjectIA &lib)
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 ~CLibCallMethod ()

Static Public Attributes

const NLAIC::CIdentType IdLibCallMethod

Private Attributes

sint32 _Id
NLAIAGENT::IObjectIA_Lib

Detailed Description

Call a method from a defined IObjectIA object.

Definition at line 201 of file opcode_call_lib_method.h.


Constructor & Destructor Documentation

NLAISCRIPT::CLibCallMethod::CLibCallMethod sint32    id,
const NLAIAGENT::IObjectIA   lib
[inline]
 

Definition at line 209 of file opcode_call_lib_method.h.

References _Id, clone, id, NLAIAGENT::IObjectIA::IObjectIA, and sint32.

Referenced by clone.

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

Definition at line 254 of file opcode_call_lib_method.h.

References NLAIC::IPointerGestion::release.


Member Function Documentation

const NLAIC::IBasicType* NLAISCRIPT::CLibCallMethod::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 217 of file opcode_call_lib_method.h.

References _Id, CLibCallMethod, and x.

Referenced by CLibCallMethod, and newInstance.

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

gets debug string from the op-code.

Implements NLAISCRIPT::IOpCode.

Definition at line 132 of file opcode_call_lib_method.cpp.

References _Id, _Lib, NLAIAGENT::IObjectIA::getMethodeMemberDebugString, and NLAIC::stringGetBuild.

const NLAIC::CIdentType& NLAISCRIPT::CLibCallMethod::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 226 of file opcode_call_lib_method.h.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 241 of file opcode_call_lib_method.h.

References _Id, NLAIC::CIdentTypeAlloc::allocClass, id, NLAIC::IBasicInterface::load, NLAIC::IPointerGestion::release, NLMISC::IStream::serial, and sint32.

const NLAIC::IBasicType* NLAISCRIPT::CLibCallMethod::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 222 of file opcode_call_lib_method.h.

References clone.

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

Computation of the op-code with a given context.

Implements NLAISCRIPT::IOpCode.

Definition at line 137 of file opcode_call_lib_method.cpp.

References _Id, _Lib, NLAIC::IPointerGestion::incRef, r, NLAIC::IPointerGestion::release, NLAIAGENT::IObjectIA::CProcessResult::Result, NLAIAGENT::IObjectIA::CProcessResult::ResultState, and NLAIAGENT::IObjectIA::runMethodeMember.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 233 of file opcode_call_lib_method.h.

References _Id, NLAIC::IBasicType::getType, NLAIC::IBasicInterface::save, NLMISC::IStream::serial, and sint32.


Member Data Documentation

sint32 NLAISCRIPT::CLibCallMethod::_Id [private]
 

Definition at line 206 of file opcode_call_lib_method.h.

Referenced by CLibCallMethod, clone, getDebugResult, load, runOpCode, and save.

NLAIAGENT::IObjectIA* NLAISCRIPT::CLibCallMethod::_Lib [private]
 

Definition at line 207 of file opcode_call_lib_method.h.

Referenced by getDebugResult, and runOpCode.

const NLAIC::CIdentType NLAISCRIPT::CLibCallMethod::IdLibCallMethod [static]
 

Initial value:

Definition at line 203 of file opcode_register.cpp.


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