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

Class CVarPStack. More...

#include <varstack.h>

Inheritance diagram for NLAISCRIPT::CVarPStack:

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

Public Methods

 CVarPStack (sint32 val)
 CVarPStack (const CVarPStack &v)
const NLAIC::CIdentTypegetVarType (void) const
 Gets the type of object stored in the heap. More...

sint32 getIndex () const
 Gets trhe index value. More...

virtual ~CVarPStack ()
Base class method.
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...

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 NLAIC::CIdentTypegetType (void) const
 getType return a unique string how represente the class, it can be the name of the class. More...

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

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

virtual NLAIAGENT::IObjetOpneg ()
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator+= (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator-= (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator *= (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator/= (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator+ (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator- (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator * (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator/ (const NLAIAGENT::IObjetOp &a)
NLAIAGENT::IObjetOpoperator< (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator> (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator<= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator>= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator! () const
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator!= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

NLAIAGENT::IObjetOpoperator== (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...


Static Public Attributes

NLAIC::CIdentType IdVarPStack
NLAIAGENT::IObjectIA ** _LocalTableRef = NULL

Private Attributes

sint32 _Val
 Heap pointer index. More...


Detailed Description

Class CVarPStack.

This class define an object manipulate by an heap pointer index. In fact local variable is translate in an index value,this index is a pointer heap index.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 42 of file varstack.h.


Constructor & Destructor Documentation

NLAISCRIPT::CVarPStack::CVarPStack sint32    val [inline]
 

Definition at line 70 of file varstack.h.

References _Val.

Referenced by clone, CVarPStack, and isEqual.

NLAISCRIPT::CVarPStack::CVarPStack const CVarPStack &    v [inline]
 

Definition at line 75 of file varstack.h.

References _Val, CVarPStack, NLAIAGENT::IObjetOp::IObjetOp, and v.

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

Definition at line 232 of file varstack.h.

References NLAIC::IPointerGestion::release.


Member Function Documentation

const NLAIC::IBasicType* NLAISCRIPT::CVarPStack::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 94 of file varstack.h.

References CVarPStack, and x.

Referenced by newInstance.

void NLAISCRIPT::CVarPStack::getDebugString std::string &    text 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.

Implements NLAIC::IBasicType.

Definition at line 123 of file varstack.h.

References _Val, and NLAIC::stringGetBuild.

sint32 NLAISCRIPT::CVarPStack::getIndex   const [inline]
 

Gets trhe index value.

Definition at line 87 of file varstack.h.

References _Val.

const NLAIC::CIdentType& NLAISCRIPT::CVarPStack::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).

Implements NLAIC::IBasicType.

Definition at line 118 of file varstack.h.

const NLAIC::CIdentType& NLAISCRIPT::CVarPStack::getVarType void    const [inline]
 

Gets the type of object stored in the heap.

Definition at line 81 of file varstack.h.

References _Val.

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

Definition at line 130 of file varstack.h.

References _Val, CVarPStack, and t.

bool NLAISCRIPT::CVarPStack::isTrue   const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 226 of file varstack.h.

References _Val.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 111 of file varstack.h.

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

virtual NLAIAGENT::IObjetOp& NLAISCRIPT::CVarPStack::neg   [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 141 of file varstack.h.

References _Val, and NLAIAGENT::IObjetOp::neg.

const NLAIC::IBasicType* NLAISCRIPT::CVarPStack::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 100 of file varstack.h.

References clone.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator * const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 181 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp& NLAISCRIPT::CVarPStack::operator *= const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 159 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator!   const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 211 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator!= NLAIAGENT::IObjetOp   a const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 216 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator+ const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 170 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp& NLAISCRIPT::CVarPStack::operator+= const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 147 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator- const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 176 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp& NLAISCRIPT::CVarPStack::operator-= const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 153 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator/ const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 186 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp& NLAISCRIPT::CVarPStack::operator/= const NLAIAGENT::IObjetOp   a [inline]
 

Definition at line 164 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator< NLAIAGENT::IObjetOp   a const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 192 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator<= NLAIAGENT::IObjetOp   a const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 201 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator== NLAIAGENT::IObjetOp   a const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 221 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator> NLAIAGENT::IObjetOp   a const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 196 of file varstack.h.

References _Val.

NLAIAGENT::IObjetOp* NLAISCRIPT::CVarPStack::operator>= NLAIAGENT::IObjetOp   a const [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 206 of file varstack.h.

References _Val.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 136 of file varstack.h.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 105 of file varstack.h.

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


Member Data Documentation

NLAIAGENT::IObjectIA ** NLAISCRIPT::CVarPStack::_LocalTableRef = NULL [static]
 

Definition at line 606 of file static_def_init.cpp.

sint32 NLAISCRIPT::CVarPStack::_Val [private]
 

Heap pointer index.

Definition at line 49 of file varstack.h.

Referenced by CVarPStack, getDebugString, getIndex, getVarType, isEqual, isTrue, load, neg, operator *, operator *=, operator!, operator!=, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<, operator<=, operator==, operator>, operator>=, and save.

NLAIC::CIdentType NLAISCRIPT::CVarPStack::IdVarPStack [static]
 


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