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

Class CDiffOpCode. More...

#include <opcode.h>

Inheritance diagram for NLAISCRIPT::CDiffOpCode

Inheritance graph
[legend]
Collaboration diagram for NLAISCRIPT::CDiffOpCode:

Collaboration graph
[legend]
List of all members.

Operator op code

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

void getDebugResult (char *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
 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 ~CDiffOpCode ()
const NLAIC::CIdentType IdDiffOpCode

Detailed Description

Class CDiffOpCode.

It is the same thing that (*stack[i - 1] != *stack[i]). Where i is the current stack position.

Author(s):
Chafik sameh , Nevrax France
Date:
2000

Definition at line 805 of file opcode.h.


Constructor & Destructor Documentation

NLAISCRIPT::CDiffOpCode::CDiffOpCode ( ) [inline]
 

Definition at line 812 of file opcode.h.

NLAISCRIPT::CDiffOpCode::~CDiffOpCode ( ) [inline, virtual]
 

Definition at line 857 of file opcode.h.


Member Function Documentation

const NLAIC::IBasicType * NLAISCRIPT::CDiffOpCode::clone ( void ) const [inline, virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Reimplemented from NLAIC::IBasicType.

Definition at line 832 of file opcode.h.

void NLAISCRIPT::CDiffOpCode::getDebugResult ( char * str,
CCodeContext & context ) const [inline, virtual]
 

gets debug string from the op-code.

Reimplemented from NLAISCRIPT::IOpCode.

Definition at line 825 of file opcode.h.

void NLAISCRIPT::CDiffOpCode::getDebugString ( char * txt ) 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 847 of file opcode.h.

const NLAIC::CIdentType & NLAISCRIPT::CDiffOpCode::getType ( void ) 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).

Reimplemented from NLAIC::IBasicType.

Definition at line 842 of file opcode.h.

void NLAISCRIPT::CDiffOpCode::load ( NLMISC::IStream & is ) [inline, virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 853 of file opcode.h.

const NLAIC::IBasicType * NLAISCRIPT::CDiffOpCode::newInstance ( void ) const [inline, virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Reimplemented from NLAIC::IBasicType.

Definition at line 837 of file opcode.h.

NLAIAGENT::TProcessStatement NLAISCRIPT::CDiffOpCode::runOpCode ( CCodeContext & context ) [inline, virtual]
 

Computation of the op-code with a given context.

Reimplemented from NLAISCRIPT::IOpCode.

Definition at line 816 of file opcode.h.

void NLAISCRIPT::CDiffOpCode::save ( NLMISC::IStream & os ) [inline, virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 849 of file opcode.h.


Member Data Documentation

const NLAIC::CIdentType NLAISCRIPT::CDiffOpCode::IdDiffOpCode [static]
 

Initializer:

NLAIC::CIdentType("DiffOpCode",
                                                                                                                                NLAIC::CSelfClassFactory(CDiffOpCode()),
                                                                                                                                NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0))

Definition at line 104 of file opcode_register.cpp.


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