From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NLAISCRIPT__CLibTest.html | 932 +++++++++++++++++++++++ 1 file changed, 932 insertions(+) create mode 100644 docs/doxygen/nel/class_NLAISCRIPT__CLibTest.html (limited to 'docs/doxygen/nel/class_NLAISCRIPT__CLibTest.html') diff --git a/docs/doxygen/nel/class_NLAISCRIPT__CLibTest.html b/docs/doxygen/nel/class_NLAISCRIPT__CLibTest.html new file mode 100644 index 00000000..5ad26171 --- /dev/null +++ b/docs/doxygen/nel/class_NLAISCRIPT__CLibTest.html @@ -0,0 +1,932 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
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 Reference

Class CLibTest. +More... +

+#include <test_method.h> +

+Inheritance diagram for NLAISCRIPT::CLibTest

Inheritance graph
+ + + + + + + + + +
[legend]
Collaboration diagram for NLAISCRIPT::CLibTest:

Collaboration graph
+ + + + + +
[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 ()
NLAIAGENT::IObjectIA method.
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::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
NLAIC::IBasicInterface method.
const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

const NLAIC::CIdentTypegetType () 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 ( + +) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 133 of file test_method.cpp.

+


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] +
+
+ + + + + +
+   + + +

+getMethodIndexSize define the nomber of external method. +

+ +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Definition at line 100 of file test_method.h.

+

+ + + + +
+ + + + + + +
+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] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 80 of file test_method.cpp. +

+Referenced by NLAILINK::initIALib().

+

+ + + + +
+ + + + + + +
+sint32 NLAISCRIPT::CLibTest::isClassInheritedFrom ( + +const NLAIAGENT::IVarName & className ) const [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 139 of file test_method.cpp.

+

+ + + + +
+ + + + + + +
+bool NLAISCRIPT::CLibTest::isEqual ( + +const NLAIAGENT::IBasicObjectIA & a ) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 111 of file test_method.h.

+

+ + + + +
+ + + + + + + + + + + + + + +
+NLAIAGENT::tQueue NLAISCRIPT::CLibTest::isMember ( + +const NLAIAGENT::IVarName * className, +
+const NLAIAGENT::IVarName * methodName, +
+const NLAIAGENT::IObjectIA & param ) const [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 150 of file test_method.cpp.

+

+ + + + +
+ + + + + + +
+void NLAISCRIPT::CLibTest::load ( + +NLMISC::IStream & is ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Load the class from a stream. +

+ +

+Reimplemented from NLAIC::IBasicInterface. +

+Definition at line 142 of file test_method.h.

+

+ + + + +
+ + + + + + +
+const NLAIC::IBasicType * NLAISCRIPT::CLibTest::newInstance ( + +void ) const [inline, virtual] +
+
+ + + + + +
+   + + +

+This function allow a new instance, that mean that the class is a class factory. +

+ +

+Reimplemented from NLAIC::IBasicType. +

+Definition at line 122 of file test_method.h.

+

+ + + + +
+ + + + + + + + + + +
+double NLAISCRIPT::CLibTest::rand ( + +double d1, +
+double d2 ) const +
+
+ + + + + +
+   + + +

+ +

+Definition at line 258 of file test_method.cpp.

+

+ + + + +
+ + + + + + +
+void NLAISCRIPT::CLibTest::releaseClass ( + +) [static] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 122 of file test_method.cpp. +

+Referenced by NLAILINK::releaseIALib().

+

+ + + + +
+ + + + + + +
+const NLAIAGENT::IObjectIA::CProcessResult & NLAISCRIPT::CLibTest::run ( + +void ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Some where Run method define the process of the agen. +

+ +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Definition at line 110 of file test_method.h.

+

+ + + + +
+ + + + + + + + + + +
+NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CLibTest::runMethodeMember ( + +sint32 index, +
+NLAIAGENT::IObjectIA * p ) [virtual] +
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + + + + + + + + +
+NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CLibTest::runMethodeMember ( + +sint32 heritance, +
+sint32 index, +
+NLAIAGENT::IObjectIA * ) [virtual] +
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + +
+void NLAISCRIPT::CLibTest::save ( + +NLMISC::IStream & os ) [inline, virtual] +
+
+ + + + + +
+   + + +

+Save the class in a stream. +

+ +

+Reimplemented from NLAIC::IBasicInterface. +

+Definition at line 137 of file test_method.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+const NLAIC::CIdentType NLAISCRIPT::CLibTest::IdLibTest [static] +
+
+ + + + + +
+   + + +

+Initializer:

NLAIC::CIdentType("External",
+                                                                                                                                        NLAIC::CSelfClassFactory(test),
+                                                                                                                                        NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0))
+

+Definition at line 38 of file test_method.cpp.

+

+ + + + +
+ + + + + +
+CLibTest::CMethodCall ** NLAISCRIPT::CLibTest::StaticMethod = NULL [static] +
+
+ + + + + +
+   + + +

+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: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1