# 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::CBoolAssert Class Reference

#include <bool_assert.h>

Inheritance diagram for NLAILOGIC::CBoolAssert:

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

Public Methods

 CBoolAssert (const NLAIAGENT::IVarName &, bool truth=false)
 CBoolAssert (const CBoolAssert &)
virtual ~CBoolAssert ()
virtual void addFact (NLAILOGIC::CFact *)
virtual void addFact (CVarSet *)
virtual void addFact (CValueSet *)
virtual void removeFact (NLAILOGIC::CFact *)
virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

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

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

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

virtual sint32 nbVars () const
virtual std::list< NLAILOGIC::CFact * > * getFacts () const

Static Public Attributes

const NLAIC::CIdentType IdBoolAssert

Private Attributes

bool _Value

Constructor & Destructor Documentation

NLAILOGIC::CBoolAssert::CBoolAssert const NLAIAGENT::IVarName  ,
bool    truth = false
 

Definition at line 29 of file bool_assert.cpp.

References _Value.

Referenced by clone, isEqual, and newInstance.

NLAILOGIC::CBoolAssert::CBoolAssert const CBoolAssert &   
 

Definition at line 34 of file bool_assert.cpp.

References _Value.

NLAILOGIC::CBoolAssert::~CBoolAssert   [virtual]
 

Definition at line 39 of file bool_assert.cpp.


Member Function Documentation

void NLAILOGIC::CBoolAssert::addFact CValueSet   [virtual]
 

Implements NLAILOGIC::IBaseAssert.

Definition at line 59 of file bool_assert.cpp.

References _Value.

void NLAILOGIC::CBoolAssert::addFact CVarSet   [virtual]
 

Implements NLAILOGIC::IBaseAssert.

Definition at line 43 of file bool_assert.cpp.

References _Value.

void NLAILOGIC::CBoolAssert::addFact NLAILOGIC::CFact   [virtual]
 

Definition at line 48 of file bool_assert.cpp.

References _Value.

const NLAIC::IBasicType * NLAILOGIC::CBoolAssert::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 74 of file bool_assert.cpp.

References CBoolAssert, and clone.

Referenced by clone.

void NLAILOGIC::CBoolAssert::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 100 of file bool_assert.cpp.

std::list< CFact * > * NLAILOGIC::CBoolAssert::getFacts   const [virtual]
 

Implements NLAILOGIC::IBaseAssert.

Definition at line 124 of file bool_assert.cpp.

const NLAIC::CIdentType & NLAILOGIC::CBoolAssert::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 NLAILOGIC::IBaseAssert.

Definition at line 69 of file bool_assert.cpp.

References IdBoolAssert.

bool NLAILOGIC::CBoolAssert::isEqual const NLAIAGENT::IBasicObjectIA   a const
 

Definition at line 109 of file bool_assert.cpp.

References _Value, and CBoolAssert.

bool NLAILOGIC::CBoolAssert::isTrue   const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 64 of file bool_assert.cpp.

References _Value.

void NLAILOGIC::CBoolAssert::load NLMISC::IStream   is [virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 93 of file bool_assert.cpp.

References _Value, and NLMISC::IStream::serial.

sint32 NLAILOGIC::CBoolAssert::nbVars   const [virtual]
 

Implements NLAILOGIC::IBaseAssert.

Definition at line 119 of file bool_assert.cpp.

const NLAIC::IBasicType * NLAILOGIC::CBoolAssert::newInstance   const [virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 80 of file bool_assert.cpp.

References CBoolAssert, and x.

void NLAILOGIC::CBoolAssert::removeFact NLAILOGIC::CFact   [virtual]
 

Implements NLAILOGIC::IBaseAssert.

Definition at line 53 of file bool_assert.cpp.

References _Value.

const IObjectIA::CProcessResult & NLAILOGIC::CBoolAssert::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 114 of file bool_assert.cpp.

void NLAILOGIC::CBoolAssert::save NLMISC::IStream   os [virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 87 of file bool_assert.cpp.

References _Value, and NLMISC::IStream::serial.


Member Data Documentation

bool NLAILOGIC::CBoolAssert::_Value [private]
 

Definition at line 35 of file bool_assert.h.

Referenced by addFact, CBoolAssert, isEqual, isTrue, load, removeFact, and save.

const NLAIC::CIdentType CBoolAssert::IdBoolAssert [static]
 

Initial value:

Definition at line 431 of file static_def_init.cpp.

Referenced by getType.


The documentation for this class was generated from the following files: