ug4
ug::UID Class Reference

supplies a unique ID. More...

#include <uid.h>

+ Inheritance diagram for ug::UID:

Public Member Functions

unsigned int id () const
 
bool operator== (const UID &uid)
 
 UID ()
 
 UID (const UID &uid)
 
virtual ~UID ()
 

Private Attributes

unsigned int m_uID
 

Detailed Description

supplies a unique ID.

Derivatives of this class can be identified by their unique ID. Useful for hashing and other applications, where the need for identification is given.

Constructor & Destructor Documentation

◆ UID() [1/2]

ug::UID::UID ( )
inline

References m_uID.

◆ UID() [2/2]

ug::UID::UID ( const UID uid)
inline

References id(), and m_uID.

◆ ~UID()

virtual ug::UID::~UID ( )
inlinevirtual

Member Function Documentation

◆ id()

◆ operator==()

bool ug::UID::operator== ( const UID uid)
inline

References id().

Member Data Documentation

◆ m_uID

unsigned int ug::UID::m_uID
private

Referenced by id(), and UID().


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