|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CEntityId Struct ReferenceTODO.
More...
#include <entity_id.h>
Inheritance diagram for NLMISC::CEntityId:
List of all members.
Detailed Description
TODO.
-
Author:
-
Sameh Chafik, Vianney Lecroart , Nevrax France
-
Date:
-
2001
Definition at line 42 of file entity_id.h.
Constructor & Destructor Documentation
NLMISC::CEntityId::CEntityId |
( |
|
) |
[inline] |
|
NLMISC::CEntityId::CEntityId |
( |
uint8 |
type, |
|
|
uint64 |
id |
|
) |
[inline] |
|
NLMISC::CEntityId::CEntityId |
( |
uint64 |
p |
) |
[inline, explicit] |
|
NLMISC::CEntityId::CEntityId |
( |
const CEntityId & |
a |
) |
[inline] |
|
NLMISC::CEntityId::CEntityId |
( |
const char * |
str |
) |
[inline, explicit] |
|
Member Function Documentation
void NLMISC::CEntityId::fromString |
( |
const char * |
str |
) |
[inline] |
|
uint8 NLMISC::CEntityId::getCreatorId |
( |
|
) |
const [inline] |
|
void NLMISC::CEntityId::getDebugString |
( |
std::string & |
str |
) |
const [inline] |
|
uint8 NLMISC::CEntityId::getDynamicId |
( |
|
) |
const [inline] |
|
uint64 NLMISC::CEntityId::getRawId |
( |
|
) |
const [inline] |
|
uint64 NLMISC::CEntityId::getShortId |
( |
|
) |
const [inline] |
|
uint8 NLMISC::CEntityId::getType |
( |
void |
|
) |
const [inline] |
|
uint64 NLMISC::CEntityId::getUniqueId |
( |
|
) |
const [inline] |
|
bool NLMISC::CEntityId::isUnknownId |
( |
|
) |
const [inline] |
|
NLMISC::CEntityId::operator uint64 |
( |
|
) |
const [inline] |
|
const CEntityId& NLMISC::CEntityId::operator++ |
( |
int |
|
) |
[inline] |
|
bool NLMISC::CEntityId::operator< |
( |
const CEntityId & |
a |
) |
const [inline] |
|
const CEntityId& NLMISC::CEntityId::operator= |
( |
uint64 |
p |
) |
[inline] |
|
const CEntityId& NLMISC::CEntityId::operator= |
( |
const CEntityId & |
a |
) |
[inline] |
|
bool NLMISC::CEntityId::operator== |
( |
const CEntityId & |
a |
) |
const [inline] |
|
bool NLMISC::CEntityId::operator> |
( |
const CEntityId & |
a |
) |
const [inline] |
|
void NLMISC::CEntityId::setCreatorId |
( |
uint8 |
creatorId |
) |
[inline] |
|
void NLMISC::CEntityId::setDynamicId |
( |
uint8 |
dynId |
) |
[inline] |
|
void NLMISC::CEntityId::setServiceId |
( |
uint8 |
sid |
) |
[inline] |
|
void NLMISC::CEntityId::setShortId |
( |
uint64 |
shortId |
) |
[inline] |
|
void NLMISC::CEntityId::setType |
( |
uint8 |
type |
) |
[inline] |
|
std::string NLMISC::CEntityId::toString |
( |
|
) |
const [inline] |
|
|
return a string in form "(a:b:c:d)" where a,b,c,d are components of entity id.
Definition at line 460 of file entity_id.h.
References getDebugString, and id. |
Member Data Documentation
uint64 NLMISC::CEntityId::CreatorId [private]
|
|
|
Id of the service who created the entity.
Definition at line 56 of file entity_id.h. |
struct { ... } NLMISC::CEntityId::DetailedId [private]
|
|
|
Referenced by CEntityId, fromString, getCreatorId, getDebugString, getDynamicId, getShortId, getType, isUnknownId, operator++, setCreatorId, setDynamicId, setServiceId, setShortId, and setType. |
uint64 NLMISC::CEntityId::DynamicId [private]
|
|
|
Id of the service where the entity is.
Definition at line 54 of file entity_id.h. |
uint64 NLMISC::CEntityId::FullId [private]
|
|
uint64 NLMISC::CEntityId::Id [private]
|
|
const uint64 NLMISC::CEntityId::MaxEntityId = ((uint64)1 << (40 + 1)) - (uint64)1 [static]
|
|
|
The maximume of number that we could generate without generat an overtaking exception.
Definition at line 34 of file entity_id.cpp.
Referenced by operator++. |
uint8 NLMISC::CEntityId::ServerId = 0 [static]
|
|
uint64 NLMISC::CEntityId::Type [private]
|
|
const CEntityId NLMISC::CEntityId::Unknown [static]
|
|
|
Unknow CEntityId is similar as an NULL pointer.
|
The documentation for this struct was generated from the following files:
|
|