|
|
|
|
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
[legend]Collaboration diagram for NLAISCRIPT::CConstraintStackComp:
[legend]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(s):
-
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
NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp (
|
) [virtual]
|
|
Member Function Documentation
const IConstraint * NLAISCRIPT::CConstraintStackComp::clone (
|
void ) const [virtual]
|
|
bool NLAISCRIPT::CConstraintStackComp::dependOn (
|
const IConstraint * c ) const [virtual]
|
|
int NLAISCRIPT::CConstraintStackComp::getColone (
|
) const [inline, virtual]
|
|
const NLAIC::CIdentType * NLAISCRIPT::CConstraintStackComp::getConstraintTypeOf (
|
) [virtual]
|
|
void NLAISCRIPT::CConstraintStackComp::getError (
|
char * txt ) const [virtual]
|
|
const char * NLAISCRIPT::CConstraintStackComp::getInfo (
|
) [inline, virtual]
|
|
int NLAISCRIPT::CConstraintStackComp::getLine (
|
) const [inline, virtual]
|
|
ConstraintTypeEnum NLAISCRIPT::CConstraintStackComp::getTypeOfClass (
|
) const [inline, virtual]
|
|
bool NLAISCRIPT::CConstraintStackComp::operator== (
|
const IConstraint & c ) const [virtual]
|
|
void NLAISCRIPT::CConstraintStackComp::run (
|
IConstraint * comp ) [virtual]
|
|
void NLAISCRIPT::CConstraintStackComp::run (
|
CCompilateur & c ) [virtual]
|
|
bool NLAISCRIPT::CConstraintStackComp::satisfied (
|
) [inline, virtual]
|
|
Member Data Documentation
sint32 NLAISCRIPT::CConstraintStackComp::_Col [private]
|
|
sint32 NLAISCRIPT::CConstraintStackComp::_Lin [private]
|
|
|
Set herarchy name (a hierarchy name is some thing like classBaseName.className.component).
Definition at line 56 of file constraint_stack_component.h. |
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:
|
|