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

#include <opcode_ldb.h>

Inheritance diagram for NLAISCRIPT::CLdbOpCode:

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

Public Methods

 CLdbOpCode (const NLAIAGENT::IObjectIA &b)
NLAIAGENT::TProcessStatement runOpCode (CCodeContext &context)
 Computation of the op-code with a given context. More...

void getDebugResult (std::string &, 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 getDebugString (std::string &) 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...

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 ~CLdbOpCode ()

Static Public Attributes

const NLAIC::CIdentType IdLdbOpCode

Private Attributes

NLAIAGENT::IObjectIA_B

Constructor & Destructor Documentation

NLAISCRIPT::CLdbOpCode::CLdbOpCode const NLAIAGENT::IObjectIA   b
 

Definition at line 31 of file opcode_ldb.cpp.

References _B, and NLAIC::IBasicType::clone.

Referenced by clone.

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

Definition at line 77 of file opcode_ldb.h.

References NLAIC::IPointerGestion::release.


Member Function Documentation

const NLAIC::IBasicType* NLAISCRIPT::CLdbOpCode::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 44 of file opcode_ldb.h.

References CLdbOpCode, and x.

Referenced by newInstance.

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

gets debug string from the op-code.

Implements NLAISCRIPT::IOpCode.

Definition at line 44 of file opcode_ldb.cpp.

References _B, and NLAIC::IBasicType::getDebugString.

void NLAISCRIPT::CLdbOpCode::getDebugString std::string &    const [inline, 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 NLAISCRIPT::IOpRunCode.

Definition at line 60 of file opcode_ldb.h.

const NLAIC::CIdentType& NLAISCRIPT::CLdbOpCode::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 55 of file opcode_ldb.h.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 68 of file opcode_ldb.h.

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

const NLAIC::IBasicType* NLAISCRIPT::CLdbOpCode::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 50 of file opcode_ldb.h.

References clone.

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

Computation of the op-code with a given context.

Implements NLAISCRIPT::IOpCode.

Definition at line 37 of file opcode_ldb.cpp.

References _B, NLAIC::IBasicType::clone, and NLAIAGENT::IObjectIA::ProcessIdle.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 62 of file opcode_ldb.h.

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


Member Data Documentation

NLAIAGENT::IObjectIA* NLAISCRIPT::CLdbOpCode::_B [private]
 

Definition at line 36 of file opcode_ldb.h.

Referenced by CLdbOpCode, getDebugResult, and runOpCode.

const NLAIC::CIdentType NLAISCRIPT::CLdbOpCode::IdLdbOpCode [static]
 

Initial value:

Definition at line 32 of file opcode_register.cpp.


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