NLAISCRIPT::CLibTest::CMethodCall Struct Reference

#include <test_method.h>


Detailed Description

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

Definition at line 66 of file test_method.h.

Public Member Functions

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

Data Fields

sint ArgCount
 Count neaded when the CheckCount it set.

NLAIAGENT::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.

NLAIAGENT::CStringVarName MethodName
 Name of the method.

NLAIAGENT::IObjectIAReturnValue
 Return value type.


Constructor & Destructor Documentation

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

Definition at line 68 of file test_method.h.

References r.

00068                                                                                                                                           : 
00069                                         MethodName (name),ArgType(a),ReturnValue(r)
00070                         {
00071                                 Index = i;
00072                                 CheckArgType = checkArg;
00073                                 ArgCount = argCount;
00074                         }

NLAISCRIPT::CLibTest::CMethodCall::~CMethodCall  )  [inline]
 

Definition at line 76 of file test_method.h.

References NLAIC::IPointerGestion::release().

00077                         {
00078                                 if(ReturnValue != NULL) ReturnValue->release();
00079                                 if(ArgType != NULL) ArgType->release();
00080                         }


Field Documentation

sint NLAISCRIPT::CLibTest::CMethodCall::ArgCount
 

Count neaded when the CheckCount it set.

Definition at line 90 of file test_method.h.

NLAIAGENT::IObjectIA* NLAISCRIPT::CLibTest::CMethodCall::ArgType
 

Type of the method argument.

Definition at line 84 of file test_method.h.

TTypeCheck NLAISCRIPT::CLibTest::CMethodCall::CheckArgType
 

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

Definition at line 88 of file test_method.h.

sint32 NLAISCRIPT::CLibTest::CMethodCall::Index
 

Index of the method in the class.

Definition at line 92 of file test_method.h.

NLAIAGENT::CStringVarName NLAISCRIPT::CLibTest::CMethodCall::MethodName
 

Name of the method.

Definition at line 82 of file test_method.h.

NLAIAGENT::IObjectIA* NLAISCRIPT::CLibTest::CMethodCall::ReturnValue
 

Return value type.

Definition at line 86 of file test_method.h.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 11:56:57 2004 for NeL by doxygen 1.3.6