#include <constraint.h>
This structer is used for passing method characteristic.
Nevrax France
Definition at line 49 of file constraint.h.
Public Member Functions | |
CFunctionTag (const CFunctionTag &c) | |
Copy constructor. Its needed because some method use a stack CFunctionTag manipulation. | |
CFunctionTag () | |
Default constructor. | |
const CFunctionTag & | operator= (const CFunctionTag &c) |
Its needed because some method use a stack CFunctionTag manipulation. | |
void | setTypeObject (NLAIAGENT::IObjectIA *o) |
Set the type of return method expression, the type is a NLAIAGENT::IObjectIA where its used the getType member method. | |
virtual | ~CFunctionTag () |
Data Fields | |
sint32 | Inheritance |
Idee of the base class were the method is. Idee have the same functionality as a offset. | |
std::list< sint32 > | Member |
Hierarchy access of the method. | |
CMethodeName * | Method |
Name and type of the method. | |
const NLAIAGENT::IVarName * | MethodName |
Method name. | |
sint32 | MethodNum |
Offset of the method in the class. | |
const NLAIAGENT::IObjectIA * | Object |
Pointer adress of the class that the metod is define, in general this pointer is the class strored in the class factory. | |
NLAIAGENT::IObjectIA * | ReturnType |
Type of returned expression. |
|
Default constructor.
Definition at line 67 of file constraint.h. References Object.
00068 { 00069 Method = NULL; 00070 Object = NULL; 00071 ReturnType = NULL; 00072 MethodName = NULL; 00073 } |
|
Copy constructor. Its needed because some method use a stack CFunctionTag manipulation.
Definition at line 76 of file constraint.h. References NLAIC::IPointerGestion::incRef(), Inheritance, Member, Method, MethodName, MethodNum, Object, and ReturnType.
00077 { 00078 Inheritance = c.Inheritance; 00079 MethodNum = c.MethodNum; 00080 Method = c.Method; 00081 Object = c.Object; 00082 MethodName = c.MethodName; 00083 Member = c.Member; 00084 ReturnType = c.ReturnType; 00085 if(ReturnType) ReturnType->incRef(); 00086 } |
|
Definition at line 112 of file constraint.h. References NLAIC::IPointerGestion::release().
00113 { 00114 if(ReturnType) ReturnType->release(); 00115 } |
|
Its needed because some method use a stack CFunctionTag manipulation.
Definition at line 89 of file constraint.h. References NLAIC::IPointerGestion::incRef(), Inheritance, Member, Method, MethodName, MethodNum, Object, NLAIC::IPointerGestion::release(), and ReturnType.
00090 { 00091 Inheritance = c.Inheritance; 00092 MethodNum = c.MethodNum; 00093 Method = c.Method; 00094 Object = c.Object; 00095 MethodName = c.MethodName; 00096 Member = c.Member; 00097 if(ReturnType) ReturnType->release(); 00098 ReturnType = c.ReturnType; 00099 if(ReturnType) ReturnType->incRef(); 00100 return *this; 00101 } |
|
Set the type of return method expression, the type is a NLAIAGENT::IObjectIA where its used the getType member method.
Definition at line 105 of file constraint.h. References NLAIC::IPointerGestion::incRef(), and NLAIC::IPointerGestion::release(). Referenced by NLAISCRIPT::CCompilateur::findMethode().
00106 { 00107 if(ReturnType) ReturnType->release(); 00108 ReturnType = o; 00109 ReturnType->incRef(); 00110 } |
|
Idee of the base class were the method is. Idee have the same functionality as a offset.
Definition at line 52 of file constraint.h. Referenced by CFunctionTag(), NLAISCRIPT::CCompilateur::findMethode(), operator=(), NLAISCRIPT::CConstraintFindRun::run(), NLAISCRIPT::CConstraintMethode::run(), and NLAISCRIPT::CConstraintFindRun::setOpCode(). |
|
Hierarchy access of the method.
Definition at line 62 of file constraint.h. Referenced by CFunctionTag(), NLAISCRIPT::CCompilateur::findMethode(), operator=(), NLAISCRIPT::CConstraintFindRun::run(), and NLAISCRIPT::CConstraintMethode::run(). |
|
Name and type of the method.
Definition at line 56 of file constraint.h. Referenced by CFunctionTag(), NLAISCRIPT::CCompilateur::findMethode(), operator=(), and NLAISCRIPT::CConstraintMethode::run(). |
|
Method name.
Definition at line 60 of file constraint.h. Referenced by CFunctionTag(), NLAISCRIPT::CCompilateur::findMethode(), operator=(), and NLAISCRIPT::CConstraintMethode::run(). |
|
Offset of the method in the class.
Definition at line 54 of file constraint.h. Referenced by CFunctionTag(), NLAISCRIPT::CCompilateur::findMethode(), operator=(), NLAISCRIPT::CConstraintMethode::run(), and NLAISCRIPT::CConstraintFindRun::setOpCode(). |
|
Pointer adress of the class that the metod is define, in general this pointer is the class strored in the class factory.
Definition at line 58 of file constraint.h. Referenced by CFunctionTag(), NLAISCRIPT::CCompilateur::findMethode(), operator=(), and NLAISCRIPT::CConstraintMethode::run(). |
|
Type of returned expression.
Definition at line 64 of file constraint.h. Referenced by CFunctionTag(), operator=(), and NLAISCRIPT::CConstraintMethode::run(). |