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

#include <boolval.h>

Inheritance diagram for NLAILOGIC::CBoolType:

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

Public Methods

 CBoolType (bool)
 CBoolType (const CBoolType &)
virtual ~CBoolType ()
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 float truthValue () const
 Returns a value in [0,1]. More...

virtual const CProcessResult & run ()
 Some where Run method define the process of the agen. More...

virtual bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual bool isEqual (const CBoolType &a) const
virtual std::vector< IBaseVar * > * getVars ()
virtual NLAIAGENT::IObjetOpoperator+= (const NLAIAGENT::IObjetOp &a)
virtual NLAIAGENT::IObjetOpoperator-= (const NLAIAGENT::IObjetOp &a)
virtual NLAIAGENT::IObjetOpoperator *= (const NLAIAGENT::IObjetOp &a)
virtual NLAIAGENT::IObjetOpoperator< (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator> (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator<= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator>= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator! () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator!= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator== (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

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


Static Public Attributes

const NLAIC::CIdentType IdBoolType

Private Attributes

bool _Value

Constructor & Destructor Documentation

NLAILOGIC::CBoolType::CBoolType bool   
 

Definition at line 41 of file boolval.cpp.

References value.

Referenced by clone, isEqual, operator *=, operator!, operator!=, operator+=, operator-=, operator<, operator<=, operator==, operator>, and operator>=.

NLAILOGIC::CBoolType::CBoolType const CBoolType &   
 

Definition at line 45 of file boolval.cpp.

References _Value.

NLAILOGIC::CBoolType::~CBoolType   [virtual]
 

Definition at line 50 of file boolval.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAILOGIC::CBoolType::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 54 of file boolval.cpp.

References CBoolType.

Referenced by newInstance.

void NLAILOGIC::CBoolType::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 79 of file boolval.cpp.

const NLAIC::CIdentType & NLAILOGIC::CBoolType::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 123 of file boolval.cpp.

References IdBoolType.

std::vector< IBaseVar * > * NLAILOGIC::CBoolType::getVars   [virtual]
 

Definition at line 118 of file boolval.cpp.

bool NLAILOGIC::CBoolType::isEqual const CBoolType &    a const [virtual]
 

Definition at line 108 of file boolval.cpp.

References _Value.

bool NLAILOGIC::CBoolType::isEqual const NLAIAGENT::IBasicObjectIA   a const [virtual]
 

Definition at line 113 of file boolval.cpp.

References _Value, and CBoolType.

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

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 89 of file boolval.cpp.

References _Value.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 73 of file boolval.cpp.

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

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

Implements NLAIC::IBasicType.

Definition at line 60 of file boolval.cpp.

References clone.

IObjetOp & NLAILOGIC::CBoolType::operator *= const NLAIAGENT::IObjetOp   a [virtual]
 

Definition at line 140 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator!   const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 172 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator!= NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 178 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp & NLAILOGIC::CBoolType::operator+= const NLAIAGENT::IObjetOp   a [virtual]
 

Definition at line 128 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp & NLAILOGIC::CBoolType::operator-= const NLAIAGENT::IObjetOp   a [virtual]
 

Definition at line 134 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator< NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 147 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator<= NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 159 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator== NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 193 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator> NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 153 of file boolval.cpp.

References _Value, and CBoolType.

IObjetOp * NLAILOGIC::CBoolType::operator>= NLAIAGENT::IObjetOp   a const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 166 of file boolval.cpp.

References _Value, and CBoolType.

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

Some where Run method define the process of the agen.

Implements NLAILOGIC::IBaseBoolType.

Definition at line 103 of file boolval.cpp.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 67 of file boolval.cpp.

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

float NLAILOGIC::CBoolType::truthValue   const [virtual]
 

Returns a value in [0,1].

Implements NLAILOGIC::IBaseBoolType.

Definition at line 94 of file boolval.cpp.


Member Data Documentation

bool NLAILOGIC::CBoolType::_Value [private]
 

Definition at line 50 of file boolval.h.

Referenced by CBoolType, isEqual, isTrue, operator *=, operator!, operator!=, operator+=, operator-=, operator<, operator<=, operator==, operator>, operator>=, and save.

const NLAIC::CIdentType CBoolType::IdBoolType [static]
 

Referenced by getType, and NLAIAGENT::CAgentScript::initAgentScript.


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