|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CBagOfCode Class ReferenceClass CBagOfCode.
More...
#include <codage.h>
List of all members.
Detailed Description
Class CBagOfCode.
Define a container for the op-code produced from the parser.
A container of code is define by a op-code pointer and a list of constraine that needs the index range of the op-code in the CCodeBrancheRun class, where CCodeBrancheRun is the op-code container.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 442 of file codage.h.
Constructor & Destructor Documentation
NLAISCRIPT::CBagOfCode::CBagOfCode |
( |
IOpCode * |
opcode |
) |
[inline] |
|
NLAISCRIPT::CBagOfCode::~CBagOfCode |
( |
|
) |
[inline] |
|
Member Function Documentation
void NLAISCRIPT::CBagOfCode::addConstraint |
( |
CBagOfCode * |
b |
) |
[inline] |
|
|
allow us to add the all constraint in a bag.
Definition at line 473 of file codage.h. |
void NLAISCRIPT::CBagOfCode::addConstraint |
( |
IConstraint * |
c |
) |
[inline] |
|
|
allow us to add a constraint in the bag.
Definition at line 467 of file codage.h. |
NLAISCRIPT::CBagOfCode::operator IOpCode * |
( |
|
) |
const [inline] |
|
|
That is the only way to have the op-code contened.
Definition at line 455 of file codage.h. |
void NLAISCRIPT::CBagOfCode::setCode |
( |
IOpCode * |
op |
) |
[inline] |
|
|
That is the only way to set the op-code in container.
Definition at line 461 of file codage.h. |
void NLAISCRIPT::CBagOfCode::setConstraintIndex |
( |
int |
i, |
|
|
CCodeBrancheRun * |
c |
|
) |
|
|
|
setConstraintIndex method transmit to them constraint the index range of op-code and the base pointer of where they are.Not that the base pointer is a CCodeBrancheRun and when it's built an index range is creat for each of op-code in the container at this moment setConstraintIndex we can call the copnstraints.
Definition at line 236 of file codage.cpp.
References _Constraint. |
Member Data Documentation
IOpCode* NLAISCRIPT::CBagOfCode::_Opcode [private]
|
|
The documentation for this class was generated from the following files:
|
|