#include <baseai.h>
Public Member Functions | |
| CIdMethod () | |
| CIdMethod (sint32 i, double w, IObjectIA *m, IObjectIA *r) | |
| CIdMethod (const CIdMethod &a) | |
| bool | operator< (const CIdMethod &) const |
| const CIdMethod & | operator= (const CIdMethod &) |
| virtual | ~CIdMethod () |
Data Fields | |
| sint32 | Index |
| Index of the method in the class. | |
| IObjectIA * | Method |
| The scrip op code of the method to run. | |
| IObjectIA * | ReturnType |
| Return type of the method. | |
| double | Weight |
| Hwo far the argument of method is nearest of the method argument that we need. | |
|
|
Definition at line 83 of file baseai.cpp. References NLAIC::IPointerGestion::incRef(), Index, Method, ReturnType, and Weight.
00084 {
00085 Index = a.Index;
00086 Weight = a.Weight;
00087 Method = a.Method;
00088 ReturnType = a.ReturnType;
00089 if(ReturnType != NULL)
00090 ReturnType->incRef();
00091 }
|
|
||||||||||||||||||||
|
Definition at line 93 of file baseai.cpp. References Method, r, ReturnType, sint32, and w.
|
|
|
Definition at line 101 of file baseai.cpp. References Method, and ReturnType.
00102 {
00103 Method = NULL;
00104 ReturnType = NULL;
00105 }
|
|
|
Definition at line 107 of file baseai.cpp. References NLAIC::IPointerGestion::release(), and ReturnType.
00108 {
00109 if(ReturnType != NULL)
00110 ReturnType->release();
00111 }
|
|
|
Definition at line 63 of file baseai.cpp. References Weight.
00064 {
00065 return Weight < a.Weight;
00066 }
|
|
|
Definition at line 68 of file baseai.cpp. References NLAIC::IPointerGestion::incRef(), Index, Method, NLAIC::IPointerGestion::release(), ReturnType, and Weight.
00069 {
00070 Index = a.Index;
00071 Weight = a.Weight;
00072 Method = a.Method;
00073 if(ReturnType != NULL)
00074 {
00075 ReturnType->release();
00076 }
00077 ReturnType = a.ReturnType;
00078 if(ReturnType != NULL) ReturnType->incRef();
00079
00080 return *this;
00081 }
|
|
|
Index of the method in the class.
Definition at line 120 of file baseai.h. Referenced by CIdMethod(), NLAIAGENT::COperatorScript::getDebugString(), NLAIAGENT::CAgentScript::getDebugString(), NLAISCRIPT::CAgentClass::getPrivateMember(), operator=(), NLAISCRIPT::CFindRunMsg::runOpCode(), and NLAIAGENT::CAgentScript::sendMessage(). |
|
|
The scrip op code of the method to run.
Definition at line 124 of file baseai.h. Referenced by CIdMethod(), NLAISCRIPT::CAgentClass::getPrivateMember(), and operator=(). |
|
|
Return type of the method.
Definition at line 126 of file baseai.h. Referenced by CIdMethod(), NLAISCRIPT::CAgentClass::getPrivateMember(), operator=(), and ~CIdMethod(). |
|
|
Hwo far the argument of method is nearest of the method argument that we need.
Definition at line 122 of file baseai.h. Referenced by CIdMethod(), NLAISCRIPT::CAgentClass::getPrivateMember(), operator<(), and operator=(). |
1.3.6