|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CConstraintMethode Class ReferenceClass CConstraintMethode.
More...
#include <constraint.h>
Inheritance diagram for NLAISCRIPT::CConstraintMethode
[legend]Collaboration diagram for NLAISCRIPT::CConstraintMethode:
[legend]List of all members.
Public Types |
enum | TCallTypeOpCode {
normalCall,
stackCall,
heapCall,
newCall,
searchCall
} |
| This enum allow to define the way to call the method that the class have to find. More...
|
Public Methods |
| CConstraintMethode (TCallTypeOpCode callType,int posHeap,IConstraint *baseClass,NLAIAGENT::IBaseGroupType *methodName,CParam *param,int lin,int col) |
virtual | ~CConstraintMethode () |
|
const char* | getInfo () |
| Get a string info. More...
|
virtual void | run (CCompilateur &) |
| Run with a CCompilateur dependency. More...
|
virtual void | run (IConstraint *) |
| Run with a IConstraint dependency. More...
|
bool | satisfied () |
| If the constraint is resolved. More...
|
bool | dependOn (const IConstraint *c) const |
| If this constraint depond on other constraint. More...
|
bool | operator== (const IConstraint &c) const |
void | addIndex (int i,CCodeBrancheRun *c) |
| Add a op-code dependency. More...
|
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...
|
bool | isEqual (const NLAIAGENT::IBaseGroupType &,const CParam &) const |
virtual void | setOpCode (CCompilateur &comp,IOpCode *x,IConstraint *cType,bool del) |
const NLAIC::CIdentType* | getConstraintTypeOf () |
| Type of the expression that it have to be resolve by constraint. More...
|
virtual ConstraintTypeEnum | getTypeOfClass () const |
| get the type of class. the type must be in the ConstraintTypeEnum enumeration. More...
|
const CFunctionTag& | getfunctionTag () const |
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...
|
Protected Attributes |
TCallTypeOpCode | _CallType |
| Type of search. More...
|
IConstraint* | _BaseClass |
| Type of base class that constain method. A NULL value mean that method is in the last class parsed. More...
|
NLAIAGENT::IBaseGroupType* | _MethodName |
| Hierarchy method name (a hierarchy name is some thing like classBaseName.className.methodName().). More...
|
CParam* | _Param |
| Method argument. More...
|
bool | _Satisfied |
int | _Lin |
int | _Col |
std::list<std::pair<int, CCodeBrancheRun *> > | _Code |
char* | _Txt |
IConstraint* | _Type |
char* | _TxtInfo |
int | _PosHeap |
bool | _DelCType |
CFunctionTag | _M |
Detailed Description
Class CConstraintMethode.
This class is allow to find method.
-
Author(s):
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 239 of file constraint.h.
Member Enumeration Documentation
enum NLAISCRIPT::CConstraintMethode::TCallTypeOpCode
|
|
|
This enum allow to define the way to call the method that the class have to find.
Later we use this enum to build the correct opcode. -
Enumeration values:
-
normalCall
|
The call is normal. Base class that constain method is the self class. |
stackCall
|
Call mehod from the stack. Base class that constain method is stored in the stack. |
heapCall
|
Call mehod from the heap. Base class that constain method is stored in the heap. |
newCall
|
Call constructor method. |
searchCall
|
We juste search method. |
Definition at line 247 of file constraint.h. |
Constructor & Destructor Documentation
NLAISCRIPT::CConstraintMethode::~CConstraintMethode (
|
) [inline, virtual]
|
|
Member Function Documentation
void NLAISCRIPT::CConstraintMethode::addIndex (
|
int i,
|
|
CCodeBrancheRun * c ) [inline, virtual]
|
|
const IConstraint * NLAISCRIPT::CConstraintMethode::clone (
|
void ) const [virtual]
|
|
bool NLAISCRIPT::CConstraintMethode::dependOn (
|
const IConstraint * c ) const [inline, virtual]
|
|
int NLAISCRIPT::CConstraintMethode::getColone (
|
) const [inline, virtual]
|
|
const NLAIC::CIdentType * NLAISCRIPT::CConstraintMethode::getConstraintTypeOf (
|
) [inline, virtual]
|
|
void NLAISCRIPT::CConstraintMethode::getError (
|
char * txt ) const [virtual]
|
|
const char * NLAISCRIPT::CConstraintMethode::getInfo (
|
) [inline, virtual]
|
|
int NLAISCRIPT::CConstraintMethode::getLine (
|
) const [inline, virtual]
|
|
ConstraintTypeEnum NLAISCRIPT::CConstraintMethode::getTypeOfClass (
|
) const [inline, virtual]
|
|
const CFunctionTag & NLAISCRIPT::CConstraintMethode::getfunctionTag (
|
) const [inline]
|
|
bool NLAISCRIPT::CConstraintMethode::operator== (
|
const IConstraint & c ) const [inline, virtual]
|
|
void NLAISCRIPT::CConstraintMethode::run (
|
IConstraint * comp ) [virtual]
|
|
void NLAISCRIPT::CConstraintMethode::run (
|
CCompilateur & c ) [virtual]
|
|
bool NLAISCRIPT::CConstraintMethode::satisfied (
|
) [inline, virtual]
|
|
Member Data Documentation
IConstraint * NLAISCRIPT::CConstraintMethode::_BaseClass [protected]
|
|
|
Type of base class that constain method. A NULL value mean that method is in the last class parsed.
Definition at line 263 of file constraint.h. |
std::list< std::pair< int,CCodeBrancheRun *> > NLAISCRIPT::CConstraintMethode::_Code [protected]
|
|
int NLAISCRIPT::CConstraintMethode::_Col [protected]
|
|
bool NLAISCRIPT::CConstraintMethode::_DelCType [protected]
|
|
int NLAISCRIPT::CConstraintMethode::_Lin [protected]
|
|
|
Hierarchy method name (a hierarchy name is some thing like classBaseName.className.methodName().).
Definition at line 265 of file constraint.h. |
CParam * NLAISCRIPT::CConstraintMethode::_Param [protected]
|
|
int NLAISCRIPT::CConstraintMethode::_PosHeap [protected]
|
|
bool NLAISCRIPT::CConstraintMethode::_Satisfied [protected]
|
|
char * NLAISCRIPT::CConstraintMethode::_Txt [protected]
|
|
char * NLAISCRIPT::CConstraintMethode::_TxtInfo [protected]
|
|
IConstraint * NLAISCRIPT::CConstraintMethode::_Type [protected]
|
|
The documentation for this class was generated from the following files:
|
|