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

Class CLdbNewOpCode. More...

#include <opcode.h>

Inheritance diagram for NLAISCRIPT::CLdbNewOpCode:

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

Public Methods

 CLdbNewOpCode (const NLAIAGENT::IObjectIA &b)
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 getDebugString (char *) const
void save (NLMISC::IStream &os)
 Save the class in a stream. More...

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

const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual ~CLdbNewOpCode ()

Static Public Attributes

const NLAIC::CIdentType IdLdbNewOpCode

Private Attributes

NLAIAGENT::IObjectIA_B

Detailed Description

Class CLdbNewOpCode.

Load a new object in the stack.

Author:
Portier Pierre , Chafik sameh , Nevrax France
Date:
2000

Definition at line 48 of file opcode.h.


Constructor & Destructor Documentation

NLAISCRIPT::CLdbNewOpCode::CLdbNewOpCode const NLAIAGENT::IObjectIA   b [inline]
 

Definition at line 55 of file opcode.h.

References clone, and NLAIAGENT::IObjectIA::IObjectIA.

Referenced by clone.

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

Definition at line 114 of file opcode.h.

References NLAIC::IPointerGestion::release.


Member Function Documentation

const NLAIC::IBasicType* NLAISCRIPT::CLdbNewOpCode::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 79 of file opcode.h.

References CLdbNewOpCode, and x.

Referenced by CLdbNewOpCode, and newInstance.

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

gets debug string from the op-code.

Implements NLAISCRIPT::IOpCode.

Definition at line 71 of file opcode.h.

References NLAIC::IBasicType::getDebugString.

void NLAISCRIPT::CLdbNewOpCode::getDebugString char *    const [inline]
 

Definition at line 95 of file opcode.h.

const NLAIC::CIdentType& NLAISCRIPT::CLdbNewOpCode::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 90 of file opcode.h.

bool NLAISCRIPT::CLdbNewOpCode::isEqual const NLAIAGENT::IBasicObjectIA   a const [inline]
 

Reimplemented from NLAISCRIPT::IOpRunCode.

Definition at line 112 of file opcode.h.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 103 of file opcode.h.

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

const NLAIC::IBasicType* NLAISCRIPT::CLdbNewOpCode::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 85 of file opcode.h.

References clone.

const NLAIAGENT::IObjectIA::CProcessResult& NLAISCRIPT::CLdbNewOpCode::run   [inline, virtual]
 

Some where Run method define the process of the agen.

Reimplemented from NLAISCRIPT::IOpRunCode.

Definition at line 111 of file opcode.h.

References NLAIAGENT::IObjectIA::ProcessRun.

NLAIAGENT::TProcessStatement NLAISCRIPT::CLdbNewOpCode::runOpCode CCodeContext   context [inline, virtual]
 

Computation of the op-code with a given context.

Implements NLAISCRIPT::IOpCode.

Definition at line 59 of file opcode.h.

References NLAIC::IBasicType::clone, NLAIAGENT::IObjectIA::init, NLAIAGENT::IObjectIA::ProcessIdle, and NLAIC::IPointerGestion::release.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 97 of file opcode.h.

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


Member Data Documentation

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

Definition at line 53 of file opcode.h.

const NLAIC::CIdentType NLAISCRIPT::CLdbNewOpCode::IdLdbNewOpCode [static]
 

Initial value:

Definition at line 55 of file opcode_register.cpp.


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