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

Class CJFalseOpCode. More...

#include <opcode.h>

Inheritance diagram for NLAISCRIPT::CJFalseOpCode:

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

Public Methods

 CJFalseOpCode (int l)
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 ~CJFalseOpCode ()

Static Public Attributes

const NLAIC::CIdentType IdJFalseOpCode

Private Attributes

int _N

Detailed Description

Class CJFalseOpCode.

This class define a jump if the !(*stack[i]) is true. Where i is the current stack position.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 808 of file opcode.h.


Constructor & Destructor Documentation

NLAISCRIPT::CJFalseOpCode::CJFalseOpCode int    l [inline]
 

Definition at line 815 of file opcode.h.

References _N, and NLAISCRIPT::l.

Referenced by clone.

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

Definition at line 862 of file opcode.h.


Member Function Documentation

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

References _N, CJFalseOpCode, and x.

Referenced by newInstance.

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

gets debug string from the op-code.

Implements NLAISCRIPT::IOpCode.

Definition at line 829 of file opcode.h.

References _N, and NLAIC::stringGetBuild.

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

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 855 of file opcode.h.

References _N, and NLMISC::IStream::serial.

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

References clone.

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

Computation of the op-code with a given context.

Implements NLAISCRIPT::IOpCode.

Definition at line 820 of file opcode.h.

References _N, NLAIAGENT::IObjetOp::isTrue, NLAIAGENT::IObjectIA::ProcessIdle, and NLAIC::IPointerGestion::release.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 849 of file opcode.h.

References _N, and NLMISC::IStream::serial.


Member Data Documentation

int NLAISCRIPT::CJFalseOpCode::_N [private]
 

Definition at line 813 of file opcode.h.

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

const NLAIC::CIdentType NLAISCRIPT::CJFalseOpCode::IdJFalseOpCode [static]
 

Initial value:

Definition at line 112 of file opcode_register.cpp.


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