# 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::CIdent Struct Reference

Complete reference of an agent. More...

#include <identtype.h>

Inheritance diagram for NLAIAGENT::CIdent:

NLAIAGENT::CAgentNumber NLMISC::CEntityId List of all members.

Public Methods

 CIdent ()
 CIdent (const std::string &typeName, uint64 id, uint8 creator=ServerId, uint8 dyn=ServerId)
 CIdent (const std::string &typeName, const CAgentNumber &a)
 CIdent (const CIdent &a)
 CIdent (NLMISC::IStream &is)
 fill from read stream. More...

virtual ~CIdent ()
bool operator== (const CIdent &a) const
bool operator< (const CIdent &a) const
bool operator> (const CIdent &a) const
const CIdent & operator= (const CIdent &a)
virtual void save (NLMISC::IStream &os)
 saving the nomber in an output stream. More...

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

virtual void getDebugString (std::string &str) const
 Have a debug string. More...

const std::string & getTypeName () const

Public Attributes

std::string TypeName

Detailed Description

Complete reference of an agent.

Name of the class of the type of object. Ident of the agent.

Definition at line 308 of file identtype.h.


Constructor & Destructor Documentation

NLAIAGENT::CIdent::CIdent   [inline]
 

Definition at line 311 of file identtype.h.

Referenced by CIdent, operator<, operator=, operator==, and operator>.

NLAIAGENT::CIdent::CIdent const std::string &    typeName,
uint64    id,
uint8    creator = ServerId,
uint8    dyn = ServerId
[inline]
 

Definition at line 315 of file identtype.h.

References NLAIAGENT::CAgentNumber::CAgentNumber, id, NLMISC::CEntityId::ServerId, and TypeName.

NLAIAGENT::CIdent::CIdent const std::string &    typeName,
const CAgentNumber   a
[inline]
 

Definition at line 319 of file identtype.h.

References NLAIAGENT::CAgentNumber::CAgentNumber, and TypeName.

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

Definition at line 323 of file identtype.h.

References NLAIAGENT::CAgentNumber::CAgentNumber, CIdent, and TypeName.

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

fill from read stream.

Definition at line 328 of file identtype.h.

References NLAIAGENT::CAgentNumber::CAgentNumber, s, and TypeName.

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

Definition at line 335 of file identtype.h.


Member Function Documentation

virtual void NLAIAGENT::CIdent::getDebugString std::string &    str const [inline, virtual]
 

Have a debug string.

Reimplemented from NLMISC::CEntityId.

Definition at line 383 of file identtype.h.

References NLAIC::stringGetBuild, and TypeName.

const std::string& NLAIAGENT::CIdent::getTypeName   const [inline]
 

Definition at line 389 of file identtype.h.

References TypeName.

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

loading the nomber from an input stream.

Reimplemented from NLMISC::CEntityId.

Definition at line 372 of file identtype.h.

References s, NLMISC::IStream::serial, and TypeName.

bool NLAIAGENT::CIdent::operator< const CIdent &    a const [inline]
 

Definition at line 346 of file identtype.h.

References CIdent, and TypeName.

const CIdent& NLAIAGENT::CIdent::operator= const CIdent &    a [inline]
 

Definition at line 357 of file identtype.h.

References CIdent, and TypeName.

bool NLAIAGENT::CIdent::operator== const CIdent &    a const [inline]
 

Definition at line 337 of file identtype.h.

References CIdent, and TypeName.

bool NLAIAGENT::CIdent::operator> const CIdent &    a const [inline]
 

Definition at line 351 of file identtype.h.

References CIdent, and TypeName.

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

saving the nomber in an output stream.

Reimplemented from NLMISC::CEntityId.

Definition at line 365 of file identtype.h.

References NLMISC::IStream::serial, and TypeName.


Member Data Documentation

std::string NLAIAGENT::CIdent::TypeName
 

Definition at line 310 of file identtype.h.

Referenced by CIdent, getDebugString, getTypeName, load, operator<, operator=, operator==, operator>, and save.


The documentation for this struct was generated from the following file: