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

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

#include <opcode_call_lib_method.h>

Inheritance diagram for NLAISCRIPT::CLibCallInheritedMethod:

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

Public Methods

 CLibCallInheritedMethod (sint32 inheritance, 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 ~CLibCallInheritedMethod ()

Static Public Attributes

const NLAIC::CIdentType IdLibCallInheritedMethod

Private Attributes

sint32 _Inheritance
sint32 _Id
NLAIAGENT::IObjectIA_Lib

Detailed Description

Call a method from a defined IObjectIA object.

Definition at line 262 of file opcode_call_lib_method.h.


Constructor & Destructor Documentation

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

Definition at line 271 of file opcode_call_lib_method.h.

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

Referenced by clone.

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

Definition at line 319 of file opcode_call_lib_method.h.

References NLAIC::IPointerGestion::release.


Member Function Documentation

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

References _Id, _Inheritance, CLibCallInheritedMethod, and x.

Referenced by CLibCallInheritedMethod, and newInstance.

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

gets debug string from the op-code.

Implements NLAISCRIPT::IOpCode.

Definition at line 159 of file opcode_call_lib_method.cpp.

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

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

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 303 of file opcode_call_lib_method.h.

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

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

References clone.

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

Computation of the op-code with a given context.

Implements NLAISCRIPT::IOpCode.

Definition at line 164 of file opcode_call_lib_method.cpp.

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

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 293 of file opcode_call_lib_method.h.

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


Member Data Documentation

sint32 NLAISCRIPT::CLibCallInheritedMethod::_Id [private]
 

Definition at line 268 of file opcode_call_lib_method.h.

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

sint32 NLAISCRIPT::CLibCallInheritedMethod::_Inheritance [private]
 

Definition at line 267 of file opcode_call_lib_method.h.

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

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

Definition at line 269 of file opcode_call_lib_method.h.

Referenced by getDebugResult, and runOpCode.

const NLAIC::CIdentType NLAISCRIPT::CLibCallInheritedMethod::IdLibCallInheritedMethod [static]
 

Initial value:

Definition at line 207 of file opcode_register.cpp.


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