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

#include <object_ident.h>

Inheritance diagram for NLAIAGENT::CObjectIdent:

NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CObjectIdent (const CObjectIdent &o)
 CObjectIdent (const CNumericIndex &id)
 CObjectIdent (const char *id)
 CObjectIdent (const CStringType &id)
 CObjectIdent (NLMISC::IStream &is)
virtual ~CObjectIdent ()
const CNumericIndexgetId () const
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...

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...

const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

void save (NLMISC::IStream &os)
 Save the class in a stream. More...

void load (NLMISC::IStream &is)
 Load the class from a stream. More...

bool isEqual (const IBasicObjectIA &a) const
 The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. More...

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


Static Public Attributes

const NLAIC::CIdentTypeIdObjectIdent = NULL

Private Attributes

CNumericIndex _Id

Constructor & Destructor Documentation

NLAIAGENT::CObjectIdent::CObjectIdent const CObjectIdent &    o [inline]
 

Definition at line 44 of file object_ident.h.

References _Id, and CObjectIdent.

Referenced by clone, CObjectIdent, and isEqual.

NLAIAGENT::CObjectIdent::CObjectIdent const CNumericIndex   id [inline]
 

Definition at line 48 of file object_ident.h.

References _Id, and id.

NLAIAGENT::CObjectIdent::CObjectIdent const char *    id [inline]
 

Definition at line 52 of file object_ident.h.

References _Id, and id.

NLAIAGENT::CObjectIdent::CObjectIdent const CStringType   id [inline]
 

Definition at line 56 of file object_ident.h.

References _Id, and id.

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

Definition at line 60 of file object_ident.h.

References _Id.

virtual NLAIAGENT::CObjectIdent::~CObjectIdent   [inline, virtual]
 

Definition at line 64 of file object_ident.h.


Member Function Documentation

const NLAIC::IBasicType* NLAIAGENT::CObjectIdent::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 78 of file object_ident.h.

References CObjectIdent.

Referenced by newInstance.

void NLAIAGENT::CObjectIdent::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 73 of file object_ident.h.

References _Id.

const CNumericIndex& NLAIAGENT::CObjectIdent::getId   const [inline]
 

Definition at line 68 of file object_ident.h.

References _Id.

const NLAIC::CIdentType& NLAIAGENT::CObjectIdent::getType   const [inline, 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 88 of file object_ident.h.

bool NLAIAGENT::CObjectIdent::isEqual const IBasicObjectIA   a const [inline, virtual]
 

The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'.

Implements NLAIAGENT::IBasicObjectIA.

Definition at line 103 of file object_ident.h.

References _Id, CObjectIdent, NLAIAGENT::IBasicObjectIA::IBasicObjectIA, and t.

void NLAIAGENT::CObjectIdent::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 98 of file object_ident.h.

References _Id.

const NLAIC::IBasicType* NLAIAGENT::CObjectIdent::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 83 of file object_ident.h.

References clone.

const CProcessResult& NLAIAGENT::CObjectIdent::run   [inline, virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 109 of file object_ident.h.

void NLAIAGENT::CObjectIdent::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 93 of file object_ident.h.

References _Id.


Member Data Documentation

CNumericIndex NLAIAGENT::CObjectIdent::_Id [private]
 

Definition at line 42 of file object_ident.h.

Referenced by CObjectIdent, getDebugString, getId, isEqual, load, and save.

const NLAIC::CIdentType * CObjectIdent::IdObjectIdent = NULL [static]
 

Definition at line 63 of file static_def_init.cpp.


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