NLAIAGENT::CAgentScript::CMethodCall Struct Reference

#include <agent_script.h>


Detailed Description

Structure to define the name, id and argument type of hard coded method.

Definition at line 103 of file agent_script.h.

Public Member Functions

 CMethodCall (const char *name, int i, IObjectIA *a, TTypeCheck checkArg, int argCount, IObjectIA *r)
virtual ~CMethodCall ()

Data Fields

sint ArgCount
 Count neaded when the CheckCount it set.

IObjectIAArgType
 Type of the method argument.

TTypeCheck CheckArgType
 CheckArg is for force the method argument test. If its true we test juste the name coherence.

sint32 Index
 Index of the method in the class.

CStringVarName MethodName
 Name of the method.

IObjectIAReturnValue
 Return value type.


Constructor & Destructor Documentation

NLAIAGENT::CAgentScript::CMethodCall::CMethodCall const char *  name,
int  i,
IObjectIA a,
TTypeCheck  checkArg,
int  argCount,
IObjectIA r
[inline]
 

Definition at line 106 of file agent_script.h.

References ArgCount, ArgType, CheckArgType, r, and ReturnValue.

00106                                                                                                                        : 
00107                                         MethodName (name),ArgType(a),ReturnValue(r)
00108                         {
00109                                 Index = i;
00110                                 CheckArgType = checkArg;
00111                                 ArgCount = argCount;
00112                         }

virtual NLAIAGENT::CAgentScript::CMethodCall::~CMethodCall  )  [inline, virtual]
 

Definition at line 114 of file agent_script.h.

References ArgType, NLAIC::IPointerGestion::release(), and ReturnValue.

00115                         {
00116                                 if(ReturnValue) ReturnValue->release();
00117                                 if(ArgType != NULL) ArgType->release();
00118 
00119                         }


Field Documentation

sint NLAIAGENT::CAgentScript::CMethodCall::ArgCount
 

Count neaded when the CheckCount it set.

Definition at line 129 of file agent_script.h.

Referenced by CMethodCall().

IObjectIA* NLAIAGENT::CAgentScript::CMethodCall::ArgType
 

Type of the method argument.

Definition at line 123 of file agent_script.h.

Referenced by CMethodCall(), and ~CMethodCall().

TTypeCheck NLAIAGENT::CAgentScript::CMethodCall::CheckArgType
 

CheckArg is for force the method argument test. If its true we test juste the name coherence.

Definition at line 127 of file agent_script.h.

Referenced by CMethodCall().

sint32 NLAIAGENT::CAgentScript::CMethodCall::Index
 

Index of the method in the class.

Definition at line 131 of file agent_script.h.

Referenced by NLAIAGENT::isTemplateMember().

CStringVarName NLAIAGENT::CAgentScript::CMethodCall::MethodName
 

Name of the method.

Definition at line 121 of file agent_script.h.

Referenced by NLAIAGENT::isTemplateMember().

IObjectIA* NLAIAGENT::CAgentScript::CMethodCall::ReturnValue
 

Return value type.

Definition at line 125 of file agent_script.h.

Referenced by CMethodCall(), and ~CMethodCall().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 09:04:47 2004 for NeL by doxygen 1.3.6