From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLAISCRIPT_1_1CStackPointer.html | 710 +++++++++++++++++++++ 1 file changed, 710 insertions(+) create mode 100644 docs/doxygen/nel/classNLAISCRIPT_1_1CStackPointer.html (limited to 'docs/doxygen/nel/classNLAISCRIPT_1_1CStackPointer.html') diff --git a/docs/doxygen/nel/classNLAISCRIPT_1_1CStackPointer.html b/docs/doxygen/nel/classNLAISCRIPT_1_1CStackPointer.html new file mode 100644 index 00000000..122e4bd3 --- /dev/null +++ b/docs/doxygen/nel/classNLAISCRIPT_1_1CStackPointer.html @@ -0,0 +1,710 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CStackPointer Class Reference

Class CStackPointer. +More... +

+#include <codage.h> +

+

Inheritance diagram for NLAISCRIPT::CStackPointer: +

+ +NLAISCRIPT::CIndexStackPointer + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CStackPointer (int count=1024 *8)
NLAIAGENT::IObjectIA *& operator[] (int i)
 Get the pointer in the position i. More...

 operator NLAIAGENT::IObjectIA * ()
 Get the IObjectIA pointer in current position. More...

virtual void operator-- (int)
 Dec the current position of the stack point by one. More...

virtual void operator-= (int k)
 Dec the current position of the stack point by k unite. More...

void addStack (int bp)
 set an bp shift to relative stack pointer _Bp. More...

void restoreStack ()
 restore the last _Bp shift to the stack pointer. More...

void setShift (int s)
 set an s shift to relative stack pointer _Sh. More...

void restoreShift ()
 restore the last _Sh shift to the stack pointer. More...

bool restoreStackState ()
 if there is any _Bp shift. More...

bool restoreShiftState ()
 if there is any _Sh shift. More...

 ~CStackPointer ()

Private Attributes

int _Count
 the count of allocation table. More...

int _Bp
 _Bp is a relative pointer to upright the stack point at the entry point of a methode. More...

int _Sh
 _Sh is a relative pointer to upright the stack after allocat the argument of a methode. More...

std::list< int > _Decalage
 list to storager the last shift release in _Bp. More...

std::list< int > _Shift
 list to storager the last shift release in _Sh. More...

NLAIAGENT::IObjectIA ** _Stack
 this IObjectIA table have _Count size. More...

+

Detailed Description

+Class CStackPointer. +

+Defined a basic fonctionality of a stack index pointer. +

+

+Author:
+Chafik sameh , Nevrax France
+Date:
+2000
+

+ +

+Definition at line 148 of file codage.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NLAISCRIPT::CStackPointer::CStackPointer int   count = 1024*8 [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 168 of file codage.h. +

+References _Bp, _Count, _Sh, and NLAISCRIPT::CIndexStackPointer::_Sp.

+

+ + + + +
+ + + + + + + + + +
NLAISCRIPT::CStackPointer::~CStackPointer   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 293 of file codage.h. +

+References NLAIC::IPointerGestion::release.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLAISCRIPT::CStackPointer::addStack int   bp [inline]
+
+ + + + + +
+   + + +

+set an bp shift to relative stack pointer _Bp. +

+ +

+Definition at line 245 of file codage.h.

+

+ + + + +
+ + + + + + + + + +
NLAISCRIPT::CStackPointer::operator NLAIAGENT::IObjectIA *   [inline]
+
+ + + + + +
+   + + +

+Get the IObjectIA pointer in current position. +

+ +

+Definition at line 194 of file codage.h. +

+References _Bp, _Count, _Sh, NLAISCRIPT::CIndexStackPointer::_Sp, and operator NLAIAGENT::IObjectIA *. +

+Referenced by operator NLAIAGENT::IObjectIA *.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLAISCRIPT::CStackPointer::operator-- int   [inline, virtual]
+
+ + + + + +
+   + + +

+Dec the current position of the stack point by one. +

+ +

+Reimplemented from NLAISCRIPT::CIndexStackPointer. +

+Definition at line 206 of file codage.h. +

+References NLAIC::IPointerGestion::release.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLAISCRIPT::CStackPointer::operator-= int   k [inline, virtual]
+
+ + + + + +
+   + + +

+Dec the current position of the stack point by k unite. +

+ +

+Reimplemented from NLAISCRIPT::CIndexStackPointer. +

+Definition at line 224 of file codage.h. +

+References NLAIC::IPointerGestion::release.

+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::IObjectIA*& NLAISCRIPT::CStackPointer::operator[] int   i [inline]
+
+ + + + + +
+   + + +

+Get the pointer in the position i. +

+ +

+Definition at line 182 of file codage.h. +

+References _Bp, _Count, _Sh, and NLAISCRIPT::CIndexStackPointer::_Sp.

+

+ + + + +
+ + + + + + + + + +
void NLAISCRIPT::CStackPointer::restoreShift   [inline]
+
+ + + + + +
+   + + +

+restore the last _Sh shift to the stack pointer. +

+ +

+Definition at line 272 of file codage.h. +

+References s.

+

+ + + + +
+ + + + + + + + + +
bool NLAISCRIPT::CStackPointer::restoreShiftState   [inline]
+
+ + + + + +
+   + + +

+if there is any _Sh shift. +

+ +

+Definition at line 288 of file codage.h.

+

+ + + + +
+ + + + + + + + + +
void NLAISCRIPT::CStackPointer::restoreStack   [inline]
+
+ + + + + +
+   + + +

+restore the last _Bp shift to the stack pointer. +

+ +

+Definition at line 253 of file codage.h.

+

+ + + + +
+ + + + + + + + + +
bool NLAISCRIPT::CStackPointer::restoreStackState   [inline]
+
+ + + + + +
+   + + +

+if there is any _Bp shift. +

+ +

+Definition at line 282 of file codage.h.

+

+ + + + +
+ + + + + + + + + + +
void NLAISCRIPT::CStackPointer::setShift int   s [inline]
+
+ + + + + +
+   + + +

+set an s shift to relative stack pointer _Sh. +

+ +

+Definition at line 264 of file codage.h. +

+References s.

+


Member Data Documentation

+

+ + + + +
+ + +
int NLAISCRIPT::CStackPointer::_Bp [private] +
+
+ + + + + +
+   + + +

+_Bp is a relative pointer to upright the stack point at the entry point of a methode. +

+ +

+Definition at line 154 of file codage.h. +

+Referenced by CStackPointer, operator NLAIAGENT::IObjectIA *, and operator[].

+

+ + + + +
+ + +
int NLAISCRIPT::CStackPointer::_Count [private] +
+
+ + + + + +
+   + + +

+the count of allocation table. +

+ +

+Definition at line 152 of file codage.h. +

+Referenced by CStackPointer, operator NLAIAGENT::IObjectIA *, and operator[].

+

+ + + + +
+ + +
std::list<int> NLAISCRIPT::CStackPointer::_Decalage [private] +
+
+ + + + + +
+   + + +

+list to storager the last shift release in _Bp. +

+ +

+Definition at line 160 of file codage.h.

+

+ + + + +
+ + +
int NLAISCRIPT::CStackPointer::_Sh [private] +
+
+ + + + + +
+   + + +

+_Sh is a relative pointer to upright the stack after allocat the argument of a methode. +

+ +

+Definition at line 157 of file codage.h. +

+Referenced by CStackPointer, operator NLAIAGENT::IObjectIA *, and operator[].

+

+ + + + +
+ + +
std::list<int> NLAISCRIPT::CStackPointer::_Shift [private] +
+
+ + + + + +
+   + + +

+list to storager the last shift release in _Sh. +

+ +

+Definition at line 162 of file codage.h.

+

+ + + + +
+ + +
NLAIAGENT::IObjectIA** NLAISCRIPT::CStackPointer::_Stack [private] +
+
+ + + + + +
+   + + +

+this IObjectIA table have _Count size. +

+ +

+Definition at line 165 of file codage.h.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1