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

Generator of unique ident for objects. More...

#include <ident.h>

Inheritance diagram for NLAIAGENT::CNumericIndex

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

Collaboration graph
[legend]
List of all members.

Public Methods

 CNumericIndex ()
 The constructor creat a new number by increment the _I numbre. More...

 CNumericIndex (const CNumericIndex &id)
 CNumericIndex (const CAgentNumber &i)
 copy constructor. More...

 CNumericIndex (const char *id)
 init with a string. More...

 CNumericIndex (NLMISC::IStream &is)
 construct from a stream. More...

void save (NLMISC::IStream &os)
 saving the nomber in an output stream. More...

void load (NLMISC::IStream &is)
 loading the nomber from an input stream. More...

void getDebugString (char *str) const
const CAgentNumbergetId () const
comparison of two CIndexVariant.
bool operator== (const CNumericIndex &a) const
bool operator< (const CNumericIndex &a) const
bool operator> (const CNumericIndex &a) const
NLMISC::IStreamable method.
virtual std::string getClassName ()
virtual void serial (NLMISC::IStream &f) throw (NLMISC::EStream)

Static Public Attributes

CAgentNumber _I = CAgentNumber()

Private Attributes

CAgentNumber _Id

Detailed Description

Generator of unique ident for objects.

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

Definition at line 326 of file ident.h.


Constructor & Destructor Documentation

NLAIAGENT::CNumericIndex::CNumericIndex ( ) [inline]
 

The constructor creat a new number by increment the _I numbre.

Definition at line 343 of file ident.h.

NLAIAGENT::CNumericIndex::CNumericIndex ( const CNumericIndex & id ) [inline]
 

Definition at line 347 of file ident.h.

NLAIAGENT::CNumericIndex::CNumericIndex ( const CAgentNumber & i ) [inline]
 

copy constructor.

Definition at line 352 of file ident.h.

NLAIAGENT::CNumericIndex::CNumericIndex ( const char * id ) [inline]
 

init with a string.

Definition at line 357 of file ident.h.

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

construct from a stream.

Definition at line 363 of file ident.h.


Member Function Documentation

std::string NLAIAGENT::CNumericIndex::getClassName ( ) [inline, virtual]
 

Reimplemented from NLMISC::IClassable.

Definition at line 404 of file ident.h.

void NLAIAGENT::CNumericIndex::getDebugString ( char * str ) const [inline]
 

Definition at line 397 of file ident.h.

const CAgentNumber & NLAIAGENT::CNumericIndex::getId ( ) const [inline]
 

Definition at line 424 of file ident.h.

void NLAIAGENT::CNumericIndex::load ( NLMISC::IStream & is ) [inline]
 

loading the nomber from an input stream.

Definition at line 392 of file ident.h.

bool NLAIAGENT::CNumericIndex::operator< ( const CNumericIndex & a ) const [inline]
 

Definition at line 374 of file ident.h.

bool NLAIAGENT::CNumericIndex::operator== ( const CNumericIndex & a ) const [inline]
 

Definition at line 369 of file ident.h.

bool NLAIAGENT::CNumericIndex::operator> ( const CNumericIndex & a ) const [inline]
 

Definition at line 379 of file ident.h.

void NLAIAGENT::CNumericIndex::save ( NLMISC::IStream & os ) [inline]
 

saving the nomber in an output stream.

Definition at line 386 of file ident.h.

void NLAIAGENT::CNumericIndex::serial ( NLMISC::IStream & f ) throw (NLMISC::EStream) [inline, virtual]
 

Reimplemented from NLMISC::IStreamable.

Definition at line 409 of file ident.h.


Member Data Documentation

CAgentNumber CNumericIndex::_I = CAgentNumber() [static]
 

Definition at line 41 of file static_def_init.cpp.

CAgentNumber NLAIAGENT::CNumericIndex::_Id [private]
 

Definition at line 340 of file ident.h.


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