Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

UniqueID Class Reference

#include <UniqueID.h>

Inheritance diagram for UniqueID:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual unsigned int uniqueID (void) const

Protected Methods

 UniqueID (void)
 ~UniqueID ()

Private Attributes

unsigned int m_uniqueID

Constructor & Destructor Documentation

UniqueID::UniqueID void    [protected]
 

Definition at line 20 of file UniqueID.cpp.

References m_uniqueID.

00021 {
00022         static unsigned int id = 0;
00023         m_uniqueID = ++id;
00024 }

UniqueID::~UniqueID   [protected]
 

Definition at line 26 of file UniqueID.cpp.

00027 {
00028         //nothing to do
00029 }


Member Function Documentation

unsigned int UniqueID::uniqueID void    const [virtual]
 

Definition at line 31 of file UniqueID.cpp.

References m_uniqueID.

Referenced by City::changeOwner(), BattleEntry::inputIssueGroupCommand(), BattleEntry::inputIssueJetsCommand(), Overhead::processOverheadInput(), HUD::processOverheadInput(), sendReinforcement(), and City::update().

00032 {
00033         return m_uniqueID;
00034 }


Member Data Documentation

unsigned int UniqueID::m_uniqueID [private]
 

Definition at line 30 of file UniqueID.h.

Referenced by uniqueID(), and UniqueID().


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 05:52:15 2003 for Modern Warfare by doxygen1.3-rc2