# 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  

NLMISC::CClassId Class Reference

A unique id to specify Object by a uint64. More...

#include <class_id.h>

Inheritance diagram for NLMISC::CClassId:

NLMISC::CEvent NLMISC::CEventActivate NLMISC::CEventDestroyWindow NLMISC::CEventKey NLMISC::CEventMouse NLMISC::CEventSetFocus NLMISC::CGameDeviceEvent NLMISC::CGDMouseMove NLMISC::CEventChar NLMISC::CEventKeyDown NLMISC::CEventKeyUp NLMISC::CEventMouseDblClk NLMISC::CEventMouseDown NLMISC::CEventMouseMove NLMISC::CEventMouseUp NLMISC::CEventMouseWheel NLMISC::CGDAxisMoved NLMISC::CGDButton NLMISC::CGDPOVChanged NLMISC::CGDSliderMoved List of all members.

Public Methods

 CClassId ()
 CClassId (uint32 a, uint32 b)
 CClassId (uint64 a)
bool operator== (const CClassId &o) const
bool operator!= (const CClassId &o) const
bool operator<= (const CClassId &o) const
bool operator>= (const CClassId &o) const
bool operator< (const CClassId &o) const
bool operator> (const CClassId &o) const
 operator uint64 () const

Static Public Attributes

const CClassId Null

Private Attributes

uint64 Uid

Detailed Description

A unique id to specify Object by a uint64.

The Deriver should use a Max-like Id generator, to identify his own object.

Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 44 of file class_id.h.


Constructor & Destructor Documentation

NLMISC::CClassId::CClassId   [inline]
 

Definition at line 52 of file class_id.h.

References Uid.

Referenced by NLMISC::CEvent::CEvent, NLMISC::CEventKey::CEventKey, NLMISC::CEventMouse::CEventMouse, NLMISC::CGameDeviceEvent::CGameDeviceEvent, NLMISC::CGDButton::CGDButton, operator!=, operator<, operator<=, operator==, operator>, and operator>=.

NLMISC::CClassId::CClassId uint32    a,
uint32    b
[inline]
 

Definition at line 53 of file class_id.h.

References Uid.

NLMISC::CClassId::CClassId uint64    a [inline]
 

Definition at line 54 of file class_id.h.

References Uid.


Member Function Documentation

NLMISC::CClassId::operator uint64   const [inline]
 

Definition at line 62 of file class_id.h.

References Uid.

bool NLMISC::CClassId::operator!= const CClassId &    o const [inline]
 

Definition at line 56 of file class_id.h.

References CClassId, and Uid.

bool NLMISC::CClassId::operator< const CClassId &    o const [inline]
 

Definition at line 59 of file class_id.h.

References CClassId, and Uid.

bool NLMISC::CClassId::operator<= const CClassId &    o const [inline]
 

Definition at line 57 of file class_id.h.

References CClassId, and Uid.

bool NLMISC::CClassId::operator== const CClassId &    o const [inline]
 

Definition at line 55 of file class_id.h.

References CClassId, and Uid.

bool NLMISC::CClassId::operator> const CClassId &    o const [inline]
 

Definition at line 60 of file class_id.h.

References CClassId, and Uid.

bool NLMISC::CClassId::operator>= const CClassId &    o const [inline]
 

Definition at line 58 of file class_id.h.

References CClassId, and Uid.


Member Data Documentation

const CClassId NLMISC::CClassId::Null [static]
 

uint64 NLMISC::CClassId::Uid [private]
 

Definition at line 46 of file class_id.h.

Referenced by CClassId, operator uint64, operator!=, operator<, operator<=, operator==, operator>, and operator>=.


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