|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CConstraintStackComp Class ReferenceClass CConstraintStackComp.
More...
#include <constraint_stack_component.h>
Inheritance diagram for NLAISCRIPT::CConstraintStackComp:
List of all members.
Public Types |
enum | OpCodeType { heapCall,
stackCall,
heapAffectation
} |
| This enum give information of the way to load the compoment. More...
|
Public Methods |
| CConstraintStackComp (OpCodeType opCodeType, sint32 stackPos, const std::list< NLAISCRIPT::CStringType > &memberName, IOpType *typeStack, sint32 lign, sint32 col) |
virtual | ~CConstraintStackComp () |
|
const char * | getInfo () |
| Get a string info. More...
|
void | run (CCompilateur &) |
| Run with a CCompilateur dependency. More...
|
void | run (IConstraint *) |
| Run with a IConstraint dependency. More...
|
bool | satisfied () |
| If the constraint is resolved. More...
|
bool | dependOn (const IConstraint *) const |
| If this constraint depond on other constraint. More...
|
bool | operator== (const IConstraint &c) const |
void | addIndex (sint32 i, CCodeBrancheRun *c) |
void | getError (char *) const |
| get an error string when the constraint is'nt stisfied. More...
|
const IConstraint * | clone () const |
| Get a clone pointer memory. More...
|
virtual ConstraintTypeEnum | getTypeOfClass () const |
| get the type of class. the type must be in the ConstraintTypeEnum enumeration. More...
|
const NLAIC::CIdentType * | getConstraintTypeOf () |
| Type of the expression that it have to be resolve by constraint. More...
|
int | getLine () const |
| get the line of the expression that it have to be resolve by constraint in the code source. More...
|
int | getColone () const |
| get the colone of the expression that it have to be resolve by constraint in the code source. More...
|
Private Attributes |
IOpType * | _TypeStack |
| Set the type of component, it can be an unresolved constraint. More...
|
std::list< NLAISCRIPT::CStringType > | _MemberName |
| Set herarchy name (a hierarchy name is some thing like classBaseName.className.component). More...
|
NLAIC::CIdentType * | _Id |
| The type of compoment when it resolve. More...
|
OpCodeType | _OpCodeType |
| Type of load. More...
|
sint32 | _StackPos |
| It used when the type is a heapCall and define the heap position. More...
|
|
sint32 | _Lin |
sint32 | _Col |
bool | _Satisfied |
char * | _TxtInfo |
std::list< std::pair< sint32,
CCodeBrancheRun * > > | _Code |
Detailed Description
Class CConstraintStackComp.
This class is allow to load component from the stack or the heap.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 40 of file constraint_stack_component.h.
Member Enumeration Documentation
enum NLAISCRIPT::CConstraintStackComp::OpCodeType
|
|
|
This enum give information of the way to load the compoment.
-
Enumeration values:
-
heapCall |
Load the compoment from a class stored in the heap. |
stackCall |
Load the compoment from a class stored in the stack. |
heapAffectation |
set a compoment stored in the self class. |
Definition at line 44 of file constraint_stack_component.h. |
Constructor & Destructor Documentation
|
Definition at line 32 of file constraint_stack_component.cpp.
References _Id, _Lin, _MemberName, _OpCodeType, _Satisfied, _StackPos, _TxtInfo, nlinfo, s, and NLAIC::stringGetBuild.
Referenced by clone, and operator==. |
NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp |
( |
|
) |
[virtual] |
|
Member Function Documentation
const IConstraint * NLAISCRIPT::CConstraintStackComp::clone |
( |
|
) |
const [virtual] |
|
bool NLAISCRIPT::CConstraintStackComp::dependOn |
( |
const IConstraint * |
|
) |
const [virtual] |
|
int NLAISCRIPT::CConstraintStackComp::getColone |
( |
|
) |
const [inline, virtual] |
|
const NLAIC::CIdentType * NLAISCRIPT::CConstraintStackComp::getConstraintTypeOf |
( |
|
) |
[virtual] |
|
void NLAISCRIPT::CConstraintStackComp::getError |
( |
char * |
|
) |
const [virtual] |
|
const char* NLAISCRIPT::CConstraintStackComp::getInfo |
( |
|
) |
[inline, virtual] |
|
int NLAISCRIPT::CConstraintStackComp::getLine |
( |
|
) |
const [inline, virtual] |
|
virtual ConstraintTypeEnum NLAISCRIPT::CConstraintStackComp::getTypeOfClass |
( |
|
) |
const [inline, virtual] |
|
bool NLAISCRIPT::CConstraintStackComp::operator== |
( |
const IConstraint & |
c |
) |
const [virtual] |
|
void NLAISCRIPT::CConstraintStackComp::run |
( |
IConstraint * |
|
) |
[virtual] |
|
void NLAISCRIPT::CConstraintStackComp::run |
( |
CCompilateur & |
|
) |
[virtual] |
|
|
Run with a CCompilateur dependency.
Reimplemented from NLAISCRIPT::IOpType.
Definition at line 67 of file constraint_stack_component.cpp.
References _Code, _Id, _MemberName, _Satisfied, _StackPos, _TypeStack, NLAIAGENT::IObjectIA::getStaticMemberIndex, heapAffectation, heapCall, NLAISCRIPT::IOpType::IOpType, NLAIC::IPointerGestion::release, stackCall, and x. |
bool NLAISCRIPT::CConstraintStackComp::satisfied |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
sint32 NLAISCRIPT::CConstraintStackComp::_Col [private]
|
|
sint32 NLAISCRIPT::CConstraintStackComp::_Lin [private]
|
|
OpCodeType NLAISCRIPT::CConstraintStackComp::_OpCodeType [private]
|
|
bool NLAISCRIPT::CConstraintStackComp::_Satisfied [private]
|
|
sint32 NLAISCRIPT::CConstraintStackComp::_StackPos [private]
|
|
char* NLAISCRIPT::CConstraintStackComp::_TxtInfo [private]
|
|
IOpType* NLAISCRIPT::CConstraintStackComp::_TypeStack [private]
|
|
The documentation for this class was generated from the following files:
|
|