# 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  

NLAIAGENT::DigitalType Class Reference

This class store a float in an IObjectIA. More...

#include <agent_digital.h>

Inheritance diagram for NLAIAGENT::DigitalType:

NLAIAGENT::IDigital< float > NLAIAGENT::INombre< float > NLAIAGENT::INombreDefine NLAIAGENT::IObjetOp NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 DigitalType (float value)
 Construct with an initial value. More...

 DigitalType ()
 Construct with an uninitialize value. More...

 DigitalType (const DigitalType &a)
 DigitalType (NLMISC::IStream &is)
 Construct from a NEL stream. More...

virtual IObjetOpneg ()
 throw (NLAIE::CExceptionNotImplemented). More...

Base class member method.
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 getDebugString (std::string &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...

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


Static Public Attributes

DigitalType NullOperator = DigitalType(0.0)
const NLAIC::CIdentType IdDigitalType

Detailed Description

This class store a float in an IObjectIA.

Author:
Chafik sameh , Portier Pierre , Nevrax France
Date:
2000

Definition at line 45 of file agent_digital.h.


Constructor & Destructor Documentation

NLAIAGENT::DigitalType::DigitalType float    value [inline]
 

Construct with an initial value.

Definition at line 55 of file agent_digital.h.

References NLAIAGENT::IDigital< float >::IDigital, and value.

Referenced by DigitalType.

NLAIAGENT::DigitalType::DigitalType   [inline]
 

Construct with an uninitialize value.

Definition at line 60 of file agent_digital.h.

References NLAIAGENT::IDigital< float >::IDigital.

Referenced by clone.

NLAIAGENT::DigitalType::DigitalType const DigitalType &    a [inline]
 

Definition at line 64 of file agent_digital.h.

References DigitalType, and NLAIAGENT::IDigital< float >::IDigital.

NLAIAGENT::DigitalType::DigitalType NLMISC::IStream   is [inline]
 

Construct from a NEL stream.

Definition at line 69 of file agent_digital.h.

References NLAIAGENT::IDigital< float >::IDigital.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIAGENT::DigitalType::clone   const [inline, 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 82 of file agent_digital.h.

References DigitalType.

Referenced by newInstance.

virtual void NLAIAGENT::DigitalType::getDebugString std::string &    text const [inline, 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 95 of file agent_digital.h.

References NLAIAGENT::INombre< float >::getValue, and NLAIC::stringGetBuild.

Referenced by NLAILOGIC::CGoalStack::runMethodeMember.

const NLAIC::CIdentType & NLAIAGENT::DigitalType::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 32 of file digital.cpp.

References IdDigitalType.

virtual IObjetOp& NLAIAGENT::DigitalType::neg   [inline, virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::INombre< float >.

Definition at line 73 of file agent_digital.h.

References NLAIAGENT::INombre< float >::_Value, NLAIAGENT::INombre< float >::chekBorn, and NLAIAGENT::IObjetOp::IObjetOp.

virtual const NLAIC::IBasicType* NLAIAGENT::DigitalType::newInstance   const [inline, virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 88 of file agent_digital.h.

References clone.

const IObjectIA::CProcessResult & NLAIAGENT::DigitalType::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 37 of file digital.cpp.


Member Data Documentation

const NLAIC::CIdentType DigitalType::IdDigitalType [static]
 

Referenced by NLAIAGENT::COperatorScript::getPrivateMember, getType, NLAISCRIPT::CLibTest::initClass, NLAIAGENT::CAgentWatchTimer::initClass, and NLAIFUZZY::IFuzzySet::isMember.

DigitalType NLAIAGENT::DigitalType::NullOperator = DigitalType(0.0) [static]
 

Definition at line 30 of file digital.cpp.

Referenced by NLAISCRIPT::CCompilateur::setImediateVarNill.


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