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

NLAILOGIC::CFactBase Class Reference

#include <factbase.h> +

+Inheritance diagram for NLAILOGIC::CFactBase

Inheritance graph
+ + + + + + + + + + +
[legend]
Collaboration diagram for NLAILOGIC::CFactBase:

Collaboration graph
+ + + + + + + + + + + + + + + + + + + +
[legend]
List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CFactBase ()
 ~CFactBase ()
void addFact (NLAIAGENT::IVarName &, CValueSet *)
void removeFact (CFact *)
IBaseAssertaddAssert (NLAIAGENT::IVarName &, sint32)
void addAssert (IBaseAssert *)
virtual 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...

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

virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual void getDebugString (char *) 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...

virtual bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual const CProcessResult& run ()
 Some where Run method define the process of the agen. More...

virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual std::list<CFact *>* getAssertFacts (IBaseAssert *)
virtual void addGoal (NLAIAGENT::IVarName &, CValueSet *)

Static Public Attributes

const NLAIC::CIdentType IdFactBase

Private Methods

IBaseAssertfindAssert (IBaseAssert *)
IBaseAssertfindAssert (NLAIAGENT::IVarName &, sint32)

Private Attributes

std::list<IBaseAssert *> _Asserts
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + +
+NLAILOGIC::CFactBase::CFactBase ( + +) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 32 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+NLAILOGIC::CFactBase::~CFactBase ( + +) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 36 of file factbase.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CFactBase::addAssert ( + +IBaseAssert * a ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 198 of file factbase.cpp.

+

+ + + + +
+ + + + + + + + + + +
+IBaseAssert * NLAILOGIC::CFactBase::addAssert ( + +IVarName & n, +
+sint32 nb_vars ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 44 of file factbase.cpp. +

+Referenced by NLAISCRIPT::COperatorClass::initialiseFactBase().

+

+ + + + +
+ + + + + + + + + + +
+void NLAILOGIC::CFactBase::addFact ( + +IVarName & a_name, +
+CValueSet * fp ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 87 of file factbase.cpp.

+

+ + + + +
+ + + + + + + + + + +
+void NLAILOGIC::CFactBase::addGoal ( + +IVarName & a_name, +
+CValueSet * fp ) [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 204 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+const NLAIC::IBasicType * NLAILOGIC::CFactBase::clone ( + +void ) const [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 115 of file factbase.cpp.

+

+ + + + +
+ + + + + + + + + + +
+IBaseAssert * NLAILOGIC::CFactBase::findAssert ( + +IVarName & a_name, +
+sint32 nb_vars ) [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 72 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+IBaseAssert * NLAILOGIC::CFactBase::findAssert ( + +IBaseAssert * a ) [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 57 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+std::list< CFact *>* NLAILOGIC::CFactBase::getAssertFacts ( + +IBaseAssert * a ) [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 188 of file factbase.cpp. +

+Referenced by NLAISCRIPT::COperatorClass::isValid().

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CFactBase::getDebugString ( + +char * txt ) const [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 167 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+const NLAIC::CIdentType & NLAILOGIC::CFactBase::getType ( + +void ) const [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 132 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+virtual bool NLAILOGIC::CFactBase::isEqual ( + +const NLAIAGENT::IBasicObjectIA & a ) const [virtual] +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + +
+bool NLAILOGIC::CFactBase::isTrue ( + +) const [virtual] +
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 182 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CFactBase::load ( + +NLMISC::IStream & is ) [virtual] +
+
+ + + + + +
+   + + +

+Load the class from a stream. +

+ +

+Reimplemented from NLAIC::IBasicInterface. +

+Definition at line 151 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+const NLAIC::IBasicType * NLAILOGIC::CFactBase::newInstance ( + +void ) const [virtual] +
+
+ + + + + +
+   + + +

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

+ +

+Reimplemented from NLAIC::IBasicType. +

+Definition at line 126 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CFactBase::removeFact ( + +CFact * fp ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 106 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+const IObjectIA::CProcessResult & NLAILOGIC::CFactBase::run ( + +void ) [virtual] +
+
+ + + + + +
+   + + +

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

+ +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Definition at line 177 of file factbase.cpp.

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CFactBase::save ( + +NLMISC::IStream & os ) [virtual] +
+
+ + + + + +
+   + + +

+Save the class in a stream. +

+ +

+Reimplemented from NLAIC::IBasicInterface. +

+Definition at line 137 of file factbase.cpp.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+const NLAIC::CIdentType CFactBase::IdFactBase [static] +
+
+ + + + + +
+   + + +

+Initializer:

NLAIC::CIdentType( "FactBase", NLAIC::CSelfClassFactory(CFactBase()), 
+                NLAIC::CTypeOfObject::tLogic,
+                NLAIC::CTypeOfOperator::opAdd )
+

+Definition at line 336 of file static_def_init.cpp.

+

+ + + + +
+ + + + + +
+std::list< IBaseAssert *> NLAILOGIC::CFactBase::_Asserts [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 42 of file factbase.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1