# 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

Inheritance graph
[legend]
Collaboration diagram for NLAILOGIC::CBoolAssert:

Collaboration graph
[legend]
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 (char *text) 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 )
 

NLAILOGIC::CBoolAssert::CBoolAssert ( const CBoolAssert & a )
 

Definition at line 34 of file bool_assert.cpp.

NLAILOGIC::CBoolAssert::~CBoolAssert ( ) [virtual]
 

Definition at line 39 of file bool_assert.cpp.


Member Function Documentation

void NLAILOGIC::CBoolAssert::addFact ( CValueSet * val ) [virtual]
 

Reimplemented from NLAILOGIC::IBaseAssert.

Definition at line 59 of file bool_assert.cpp.

void NLAILOGIC::CBoolAssert::addFact ( CVarSet * f ) [virtual]
 

Reimplemented from NLAILOGIC::IBaseAssert.

Definition at line 43 of file bool_assert.cpp.

void NLAILOGIC::CBoolAssert::addFact ( CFact * f ) [virtual]
 

Definition at line 48 of file bool_assert.cpp.

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

void NLAILOGIC::CBoolAssert::getDebugString ( char * text ) 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 100 of file bool_assert.cpp.

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

Reimplemented from NLAILOGIC::IBaseAssert.

Definition at line 124 of file bool_assert.cpp.

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

Definition at line 69 of file bool_assert.cpp.

bool NLAILOGIC::CBoolAssert::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const
 

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 64 of file bool_assert.cpp.

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

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 93 of file bool_assert.cpp.

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

Reimplemented from NLAILOGIC::IBaseAssert.

Definition at line 119 of file bool_assert.cpp.

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

void NLAILOGIC::CBoolAssert::removeFact ( CFact * f ) [virtual]
 

Reimplemented from NLAILOGIC::IBaseAssert.

Definition at line 53 of file bool_assert.cpp.

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

Some where Run method define the process of the agen.

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

Reimplemented from NLAIC::IBasicInterface.

Definition at line 87 of file bool_assert.cpp.


Member Data Documentation

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

Initializer:

NLAIC::CIdentType( "BoolAssert", 
                NLAIC::CSelfClassFactory((const NLAIC::IBasicInterface &)CBoolAssert( (const NLAIAGENT::IVarName &) CStringVarName("Inst") )),
                NLAIC::CTypeOfObject::tLogic,
                NLAIC::CTypeOfOperator::opEq |
                NLAIC::CTypeOfOperator::opNeg | 
                NLAIC::CTypeOfOperator::opNot )

Definition at line 329 of file static_def_init.cpp.

bool NLAILOGIC::CBoolAssert::_Value [private]
 

Definition at line 35 of file bool_assert.h.


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