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

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

#include <agent_digital.h>

Inheritance diagram for NLAIAGENT::BorneDigitalType:

NLAIAGENT::IBornNombre< float > 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

 BorneDigitalType (float sup, float inf, float value)
 Construct with a [inf, sup] born and a value. More...

 BorneDigitalType (float sup, float inf)
 Construct with a [inf, sup] born and an uninitialize value. More...

 BorneDigitalType (const BorneDigitalType &a)
 BorneDigitalType (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 const CProcessResult & run ()
 Some where Run method define the process of the agen. 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...


Static Public Attributes

const NLAIC::CIdentType IdBorneDigitalType

Detailed Description

This class store a float in an IObjectIA.

The float have a borne still as [min, max].

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

Definition at line 113 of file agent_digital.h.


Constructor & Destructor Documentation

NLAIAGENT::BorneDigitalType::BorneDigitalType float    sup,
float    inf,
float    value
[inline]
 

Construct with a [inf, sup] born and a value.

Definition at line 124 of file agent_digital.h.

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

Referenced by BorneDigitalType, and clone.

NLAIAGENT::BorneDigitalType::BorneDigitalType float    sup,
float    inf
[inline]
 

Construct with a [inf, sup] born and an uninitialize value.

Definition at line 130 of file agent_digital.h.

References NLAIAGENT::IBornNombre< float >::IBornNombre.

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

Definition at line 134 of file agent_digital.h.

References BorneDigitalType, and NLAIAGENT::IBornNombre< float >::IBornNombre.

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

Construct from a NEL stream.

Definition at line 139 of file agent_digital.h.

References NLAIAGENT::IBornNombre< float >::IBornNombre.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIAGENT::BorneDigitalType::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 152 of file agent_digital.h.

References BorneDigitalType.

Referenced by newInstance.

virtual void NLAIAGENT::BorneDigitalType::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 167 of file agent_digital.h.

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

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

References IdBorneDigitalType.

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

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::INombre< float >.

Definition at line 143 of file agent_digital.h.

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

virtual const NLAIC::IBasicType* NLAIAGENT::BorneDigitalType::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 158 of file agent_digital.h.

References clone.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 43 of file digital.cpp.


Member Data Documentation

const NLAIC::CIdentType BorneDigitalType::IdBorneDigitalType [static]
 

Referenced by getType.


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