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

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

Public Methods

 CFactBase ()
virtual ~CFactBase ()
void addFact (NLAIAGENT::IVarName &, CValueSet *)
void addFact (CFact *)
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 (std::string &) 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. +

+Referenced by clone, and newInstance.

+

+ + + + +
+ + + + + + + + + +
NLAILOGIC::CFactBase::~CFactBase   [virtual]
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CFactBase::addAssert IBaseAssert 
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
IBaseAssert * NLAILOGIC::CFactBase::addAssert NLAIAGENT::IVarName ,
sint32  
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts, and findAssert. +

+Referenced by NLAISCRIPT::COperatorClass::addFirstOrderCond, NLAISCRIPT::COperatorClass::buildLogicTables, and NLAISCRIPT::COperatorClass::initialiseFactBase.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CFactBase::addFact CFact 
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts, assert, findAssert, and x.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAILOGIC::CFactBase::addFact NLAIAGENT::IVarName ,
CValueSet 
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts, assert, findAssert, and x. +

+Referenced by addGoal.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAILOGIC::CFactBase::addGoal NLAIAGENT::IVarName ,
CValueSet 
[virtual]
+
+ + + + + +
+   + + +

+ +

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

+References addFact.

+

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

+References _Asserts, and CFactBase. +

+Referenced by NLAISCRIPT::COperatorClass::COperatorClass.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
IBaseAssert * NLAILOGIC::CFactBase::findAssert NLAIAGENT::IVarName ,
sint32  
[private]
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts.

+

+ + + + +
+ + + + + + + + + + +
IBaseAssert * NLAILOGIC::CFactBase::findAssert IBaseAssert  [private]
+
+ + + + + +
+   + + +

+ +

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

+References _Asserts. +

+Referenced by addAssert, addFact, getAssertFacts, and removeFact.

+

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

+ +

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

+References assert, and findAssert. +

+Referenced by NLAISCRIPT::COperatorClass::isValid.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CFactBase::getDebugString std::string &   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. +

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 184 of file factbase.cpp.

+

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

+Implements NLAIC::IBasicType. +

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

+References IdFactBase.

+

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

+ +

+Definition at line 189 of file factbase.cpp.

+

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

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Implements NLAIAGENT::IObjetOp. +

+Definition at line 199 of file factbase.cpp.

+

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

+Load the class from a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

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

+References _Asserts, NLAIC::CIdentTypeAlloc::allocClass, id, and NLMISC::IStream::serial.

+

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

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

+ +

+Implements NLAIC::IBasicType. +

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

+References CFactBase.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CFactBase::removeFact CFact 
+
+ + + + + +
+   + + +

+ +

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

+References assert, and findAssert.

+

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

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

+ +

+Implements NLAIAGENT::IObjectIA. +

+Definition at line 194 of file factbase.cpp.

+

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

+Save the class in a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

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

+References _Asserts, and NLMISC::IStream::serial.

+


Member Data Documentation

+

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

+ +

+Definition at line 42 of file factbase.h. +

+Referenced by addAssert, addFact, clone, findAssert, load, save, and ~CFactBase.

+

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

+Initial value:

+

+Definition at line 445 of file static_def_init.cpp. +

+Referenced by getType.

+


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