|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CVarPStackParam Class ReferenceClass CVarPStackParam.
More...
#include <varstack.h>
Inheritance diagram for NLAISCRIPT::CVarPStackParam:
List of all members.
Detailed Description
Class CVarPStackParam.
This class define the same this as the CVarPStack but here we can define an shift on the heap and work with a relative index. That is very useful when we have to declare method argument because if we want to call the script method MyMethod(Digital x,y); Then we'll find x at the position -2 on the heap an y at the position -1.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 252 of file varstack.h.
Constructor & Destructor Documentation
NLAISCRIPT::CVarPStackParam::CVarPStackParam |
( |
sint32 |
val |
) |
[inline] |
|
NLAISCRIPT::CVarPStackParam::CVarPStackParam |
( |
const CVarPStackParam & |
v |
) |
[inline] |
|
virtual NLAISCRIPT::CVarPStackParam::~CVarPStackParam |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
const NLAIC::IBasicType* NLAISCRIPT::CVarPStackParam::clone |
( |
|
) |
const [inline, virtual] |
|
void NLAISCRIPT::CVarPStackParam::getDebugString |
( |
std::string & |
text |
) |
const [inline, virtual] |
|
sint32 NLAISCRIPT::CVarPStackParam::getIndex |
( |
|
) |
const [inline] |
|
const NLAIC::CIdentType& NLAISCRIPT::CVarPStackParam::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 342 of file varstack.h. |
const NLAIC::CIdentType& NLAISCRIPT::CVarPStackParam::getVarType |
( |
void |
|
) |
const [inline] |
|
|
get the type of the object stored in the heap.
Definition at line 292 of file varstack.h.
References _Shift, and _Val. |
bool NLAISCRIPT::CVarPStackParam::isTrue |
( |
|
) |
const [inline, virtual] |
|
void NLAISCRIPT::CVarPStackParam::load |
( |
NLMISC::IStream & |
is |
) |
[inline, virtual] |
|
const NLAIC::IBasicType* NLAISCRIPT::CVarPStackParam::newInstance |
( |
|
) |
const [inline, virtual] |
|
void NLAISCRIPT::CVarPStackParam::save |
( |
NLMISC::IStream & |
os |
) |
[inline, virtual] |
|
Member Data Documentation
sint32 NLAISCRIPT::CVarPStackParam::_Shift = 0 [static]
|
|
|
Definition at line 667 of file static_def_init.cpp.
Referenced by getDebugString, getObject, getObjectIAClone, getVarType, isTrue, load, neg, operator *, operator *=, operator!, operator!=, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<, operator<=, operator==, operator>, operator>=, and save. |
sint32 NLAISCRIPT::CVarPStackParam::_Val [private]
|
|
|
Definition at line 259 of file varstack.h.
Referenced by CVarPStackParam, getDebugString, getIndex, getObject, getObjectIAClone, getVarType, isEqual, isTrue, load, neg, operator *, operator *=, operator!, operator!=, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<, operator<=, operator==, operator>, operator>=, and save. |
The documentation for this class was generated from the following files:
|
|