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

This is an local version of the IWordNumRef. More...

#include <ident.h>

Inheritance diagram for NLAIAGENT::CLocWordNumRef

Inheritance graph
[legend]
Collaboration diagram for NLAIAGENT::CLocWordNumRef:

Collaboration graph
[legend]
List of all members.

Public Methods

 CLocWordNumRef (IRefrence *ref)
 Construct object for an IRefrence agents objects. More...

 CLocWordNumRef (const CNumericIndex &ref)
 Construct object with an CNumericIndex objects. More...

 CLocWordNumRef (const CNumericIndex &id,IRefrence *ref)
 CLocWordNumRef (const CLocWordNumRef &l)
 Copy Constructor. More...

 CLocWordNumRef (NLMISC::IStream &is)
 Copy Constructor. More...

 CLocWordNumRef ()
void getDebugString (char *t) 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 operator const IRefrence * () const
virtual const CNumericIndexgetNumIdent () const
virtual ~CLocWordNumRef ()
IBasicInterface method.
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)
 Exception: throw (NLAIE::CExceptionIndexHandeledError). More...


Static Public Methods

Map fonctionality method.
void clear ()
 Clear the map. More...

void Init ()
 Init the map. More...

void saveMapping (ostream &)
 Saving the mapping objects in the word. More...

bool loadMapping (NLMISC::IStream &)
 Load the mapping objects in the word.

IRefrencegetRef (const CNumericIndex &)

Static Public Attributes

const NLAIC::CIdentTypeIdLocWordNumRef = NULL
 The class factory ident of the class. More...


Private Types

typedef std::map<CNumericIndex ,
IRefrence *> 
tMapRef
 The map use an CNumericIndex as a key for the internal tree. More...


Private Attributes

CNumericIndex _Id
 The iden of the class. More...

IRefrence_Stock
 _Stock define the cross reference between agent and this class. More...


Static Private Attributes

tMapRef_LocRefence = new CLocWordNumRef::tMapRef

Detailed Description

This is an local version of the IWordNumRef.

This class share agent in a static map.

Author(s):
Chafik sameh , Nevrax France
Date:
2000

Definition at line 470 of file ident.h.


Member Typedef Documentation

typedef std::map<CNumericIndex ,IRefrence *> NLAIAGENT::CLocWordNumRef::tMapRef [private]
 

The map use an CNumericIndex as a key for the internal tree.

Definition at line 474 of file ident.h.


Constructor & Destructor Documentation

NLAIAGENT::CLocWordNumRef::CLocWordNumRef ( IRefrence * ref ) [inline]
 

Construct object for an IRefrence agents objects.

Definition at line 491 of file ident.h.

NLAIAGENT::CLocWordNumRef::CLocWordNumRef ( const CNumericIndex & ref ) [inline]
 

Construct object with an CNumericIndex objects.

This constroctor allow to reload an IRefrence defined with the CNumericIndex &ref.

Exception: throw (NLAIE::CExceptionIndexHandeledError)

Definition at line 503 of file ident.h.

NLAIAGENT::CLocWordNumRef::CLocWordNumRef ( const CNumericIndex & id,
IRefrence * ref ) [inline]
 

Definition at line 513 of file ident.h.

NLAIAGENT::CLocWordNumRef::CLocWordNumRef ( const CLocWordNumRef & l ) [inline]
 

Copy Constructor.

Exception: throw (NLAIE::CExceptionIndexHandeledError)

Definition at line 535 of file ident.h.

NLAIAGENT::CLocWordNumRef::CLocWordNumRef ( NLMISC::IStream & is ) [inline]
 

Copy Constructor.

Exception: throw (NLAIE::CExceptionIndexHandeledError)

Definition at line 550 of file ident.h.

NLAIAGENT::CLocWordNumRef::CLocWordNumRef ( ) [inline]
 

Definition at line 555 of file ident.h.

NLAIAGENT::CLocWordNumRef::~CLocWordNumRef ( ) [inline, virtual]
 

Definition at line 606 of file ident.h.


Member Function Documentation

void NLAIAGENT::CLocWordNumRef::Init ( ) [inline, static]
 

Init the map.

Definition at line 626 of file ident.h.

void NLAIAGENT::CLocWordNumRef::clear ( ) [inline, static]
 

Clear the map.

Definition at line 616 of file ident.h.

Referenced by NLAILINK::releaseIALib().

const NLAIC::IBasicType * NLAIAGENT::CLocWordNumRef::clone ( void ) const [inline, 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 569 of file ident.h.

void NLAIAGENT::CLocWordNumRef::getDebugString ( char * t ) 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.

Reimplemented from NLAIC::IBasicType.

Definition at line 559 of file ident.h.

const CNumericIndex & NLAIAGENT::CLocWordNumRef::getNumIdent ( ) const [inline, virtual]
 

Reimplemented from NLAIAGENT::IWordNumRef.

Definition at line 601 of file ident.h.

IRefrence * NLAIAGENT::CLocWordNumRef::getRef ( const CNumericIndex & id ) [static]
 

Definition at line 177 of file ident.cpp.

const NLAIC::CIdentType & NLAIAGENT::CLocWordNumRef::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 NLAIC::IBasicType.

Definition at line 172 of file ident.cpp.

void NLAIAGENT::CLocWordNumRef::load ( NLMISC::IStream & is ) [inline, virtual]
 

Exception: throw (NLAIE::CExceptionIndexHandeledError).

Reimplemented from NLAIC::IBasicInterface.

Definition at line 584 of file ident.h.

bool NLAIAGENT::CLocWordNumRef::loadMapping ( NLMISC::IStream & ) [static]
 

Load the mapping objects in the word.

const NLAIC::IBasicType * NLAIAGENT::CLocWordNumRef::newInstance ( void ) const [inline, virtual]
 

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

Reimplemented from NLAIC::IBasicType.

Definition at line 574 of file ident.h.

NLAIAGENT::CLocWordNumRef::operator const IRefrence * ( ) const [inline, virtual]
 

Reimplemented from NLAIAGENT::IWordNumRef.

Definition at line 596 of file ident.h.

void NLAIAGENT::CLocWordNumRef::save ( NLMISC::IStream & os ) [inline, virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 579 of file ident.h.

void NLAIAGENT::CLocWordNumRef::saveMapping ( ostream & ) [static]
 

Saving the mapping objects in the word.

Saving mapping is to save all CNumericIndex shared in the map and its IRefrence class factory ident type.


Member Data Documentation

const NLAIC::CIdentType * CLocWordNumRef::IdLocWordNumRef = NULL [static]
 

The class factory ident of the class.

Definition at line 60 of file static_def_init.cpp.

CNumericIndex NLAIAGENT::CLocWordNumRef::_Id [private]
 

The iden of the class.

Definition at line 480 of file ident.h.

CLocWordNumRef::tMapRef * CLocWordNumRef::_LocRefence = new CLocWordNumRef::tMapRef [static, private]
 

Definition at line 40 of file static_def_init.cpp.

IRefrence * NLAIAGENT::CLocWordNumRef::_Stock [private]
 

_Stock define the cross reference between agent and this class.

Definition at line 483 of file ident.h.


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