|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CLibTest Class ReferenceClass CLibTest.
More...
#include <test_method.h>
Inheritance diagram for NLAISCRIPT::CLibTest
[legend]Collaboration diagram for NLAISCRIPT::CLibTest:
[legend]List of all members.
Public Types |
enum | TMethodNumDef {
TIsNULL,
TRand1,
TRand2,
TConst,
TLastM
} |
| This enum define ident for hard coded method that we have to import its under the script. More...
|
enum | TTypeCheck {
CheckAll,
CheckCount,
DoNotCheck
} |
Public Methods |
| CLibTest () |
|
virtual sint32 | isClassInheritedFrom (const NLAIAGENT::IVarName &) const |
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of external method. More...
|
double | rand (double,double) const |
virtual NLAIAGENT::tQueue | isMember (const NLAIAGENT::IVarName *className,const NLAIAGENT::IVarName *mathodName,const NLAIAGENT::IObjectIA &) const |
virtual NLAIAGENT::IObjectIA::CProcessResult | runMethodeMember (sint32 heritance, sint32 index, NLAIAGENT::IObjectIA *) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual NLAIAGENT::IObjectIA::CProcessResult | runMethodeMember (sint32 index,NLAIAGENT::IObjectIA *) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
const NLAIAGENT::IObjectIA::CProcessResult& | run () |
| Some where Run method define the process of the agen. More...
|
bool | isEqual (const NLAIAGENT::IBasicObjectIA &a) const |
|
const NLAIC::IBasicType* | clone () const |
| This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...
|
const NLAIC::IBasicType* | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
const NLAIC::CIdentType& | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
void | getDebugString (char *t) const |
| This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...
|
void | save (NLMISC::IStream &os) |
| Save the class in a stream. More...
|
void | load (NLMISC::IStream &is) |
| Load the class from a stream. More...
|
Static Public Methods |
void | initClass () |
void | releaseClass () |
Static Public Attributes |
CMethodCall** | StaticMethod = NULL |
| This variable its used to store method import characteristic. More...
|
const NLAIC::CIdentType | IdLibTest |
Detailed Description
Class CLibTest.
This class allows to define several method to testing validate state of agent.
-
Author(s):
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 39 of file test_method.h.
Member Enumeration Documentation
enum NLAISCRIPT::CLibTest::TMethodNumDef
|
|
|
This enum define ident for hard coded method that we have to import its under the script.
-
Enumeration values:
-
TIsNULL
|
|
TRand1
|
Test if an expression is NULL;. |
TRand2
|
|
TConst
|
|
TLastM
|
The count of export method. |
Definition at line 43 of file test_method.h. |
enum NLAISCRIPT::CLibTest::TTypeCheck
|
|
|
-
Enumeration values:
-
CheckAll
|
|
CheckCount
|
|
DoNotCheck
|
|
Definition at line 52 of file test_method.h. |
Constructor & Destructor Documentation
NLAISCRIPT::CLibTest::CLibTest (
|
)
|
|
Member Function Documentation
const NLAIC::IBasicType * NLAISCRIPT::CLibTest::clone (
|
void ) const [inline, virtual]
|
|
|
This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.
Reimplemented from NLAIC::IBasicType.
Definition at line 116 of file test_method.h. |
void NLAISCRIPT::CLibTest::getDebugString (
|
char * t ) const [inline, virtual]
|
|
|
This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.
Reimplemented from NLAIC::IBasicType.
Definition at line 132 of file test_method.h. |
sint32 NLAISCRIPT::CLibTest::getMethodIndexSize (
|
) const [inline, virtual]
|
|
const NLAIC::CIdentType & NLAISCRIPT::CLibTest::getType (
|
void ) const [inline, virtual]
|
|
|
getType return a unique string how represente the class, it can be the name of the class.
This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).
Reimplemented from NLAIC::IBasicType.
Definition at line 127 of file test_method.h. |
void NLAISCRIPT::CLibTest::initClass (
|
) [static]
|
|
const NLAIC::IBasicType * NLAISCRIPT::CLibTest::newInstance (
|
void ) const [inline, virtual]
|
|
double NLAISCRIPT::CLibTest::rand (
|
double d1,
|
|
double d2 ) const
|
|
void NLAISCRIPT::CLibTest::releaseClass (
|
) [static]
|
|
|
The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method.
index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method.
Reimplemented from NLAIAGENT::IObjectIA.
Definition at line 217 of file test_method.cpp. |
|
The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method.
heritance: is the id returned by the methodisClassInheritedFrom(const IVarName &). index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method.
Reimplemented from NLAIAGENT::IObjectIA.
Definition at line 212 of file test_method.cpp. |
Member Data Documentation
|
This variable its used to store method import characteristic.
Definition at line 43 of file test_method.cpp. |
The documentation for this class was generated from the following files:
|
|