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/classNLAISCRIPT_1_1CLibTest.html | 972 ++++++++++++++++++++++ 1 file changed, 972 insertions(+) create mode 100644 docs/doxygen/nel/classNLAISCRIPT_1_1CLibTest.html (limited to 'docs/doxygen/nel/classNLAISCRIPT_1_1CLibTest.html') diff --git a/docs/doxygen/nel/classNLAISCRIPT_1_1CLibTest.html b/docs/doxygen/nel/classNLAISCRIPT_1_1CLibTest.html new file mode 100644 index 00000000..37924723 --- /dev/null +++ b/docs/doxygen/nel/classNLAISCRIPT_1_1CLibTest.html @@ -0,0 +1,972 @@ + + + + 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: +

+ +NLAIAGENT::IObjectIA +NLAIAGENT::IBasicObjectIA +NLAIC::IBasicInterface +NLAIC::IBasicType +NLAIC::IPointerGestion +NLMISC::IStreamable +NLMISC::IClassable + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  TMethodNumDef {
+  TIsNULL, +TRand1, +TRand2, +TDiscretRand, +
+  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 method define in the class. More...

double rand (double, double) const
sint dRand (sint, sint) 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...

virtual void getDebugString (std::string &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:
+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  +
TDiscretRand  +
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 59 of file test_method.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLAISCRIPT::CLibTest::CLibTest  
+
+ + + + + +
+   + + +

+ +

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

+Referenced by clone.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType* NLAISCRIPT::CLibTest::clone   const [inline, virtual]
+
+ + + + + +
+   + + +

+This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 124 of file test_method.h. +

+References CLibTest, and x. +

+Referenced by newInstance.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
sint NLAISCRIPT::CLibTest::dRand sint  ,
sint  
const
+
+ + + + + +
+   + + +

+ +

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

+References r. +

+Referenced by runMethodeMember.

+

+ + + + +
+ + + + + + + + + + +
virtual void NLAISCRIPT::CLibTest::getDebugString std::string &   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. +

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 140 of file test_method.h. +

+References t.

+

+ + + + +
+ + + + + + + + + +
virtual sint32 NLAISCRIPT::CLibTest::getMethodIndexSize   const [inline, virtual]
+
+ + + + + +
+   + + +

+getMethodIndexSize define the nomber of method define in the class. +

+ +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Definition at line 107 of file test_method.h.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::CIdentType& NLAISCRIPT::CLibTest::getType   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). +

+Implements NLAIC::IBasicType. +

+Definition at line 135 of file test_method.h.

+

+ + + + +
+ + + + + + + + + +
void NLAISCRIPT::CLibTest::initClass   [static]
+
+ + + + + +
+   + + +

+ +

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

+References _CONSTRUCTOR_, NLAIAGENT::DDigitalType::IdDDigitalType, and NLAIAGENT::DigitalType::IdDigitalType.

+

+ + + + +
+ + + + + + + + + + +
sint32 NLAISCRIPT::CLibTest::isClassInheritedFrom const NLAIAGENT::IVarName  const [virtual]
+
+ + + + + +
+   + + +

+ +

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

+References IdLibTest.

+

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

+ +

+Definition at line 119 of file test_method.h.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NLAIAGENT::tQueue NLAISCRIPT::CLibTest::isMember const NLAIAGENT::IVarName  className,
const NLAIAGENT::IVarName  mathodName,
const NLAIAGENT::IObjectIA 
const [virtual]
+
+ + + + + +
+   + + +

+ +

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

+References IdLibTest, index, param, and r.

+

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

+Load the class from a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

+Definition at line 150 of file test_method.h.

+

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

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

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 130 of file test_method.h. +

+References clone.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
double NLAISCRIPT::CLibTest::rand double  ,
double  
const
+
+ + + + + +
+   + + +

+ +

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

+References r. +

+Referenced by runMethodeMember.

+

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

+ +

+Definition at line 135 of file test_method.cpp.

+

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

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

+ +

+Implements NLAIAGENT::IObjectIA. +

+Definition at line 118 of file test_method.h. +

+References NLAIAGENT::IObjectIA::ProcessRun.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLAIAGENT::IObjectIA::CProcessResult NLAISCRIPT::CLibTest::runMethodeMember sint32   index,
NLAIAGENT::IObjectIA 
[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 230 of file test_method.cpp. +

+References dRand, NLAIAGENT::IDigital< double >::getNumber, NLAIC::IBasicType::getType, NLAIC::IPointerGestion::incRef, index, param, r, rand, NLAIAGENT::IObjectIA::CProcessResult::Result, and NLAIC::CTypeOfObject::tNombre.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
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 225 of file test_method.cpp. +

+References index, and NLAIAGENT::IObjectIA::ProcessRun.

+

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

+Save the class in a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

+Definition at line 145 of file test_method.h.

+


Member Data Documentation

+

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

+Initial value:

+

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

+Referenced by isClassInheritedFrom, and isMember.

+

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