Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

newIdGen< numBits > Class Template Reference

stores the number used to generate new unique ids More...

#include <id.h>

List of all members.

Protected Types

enum  { NUM_BITS = numBits, MAX_ID = 1 << (numBits - 1) }

Protected Member Functions

 newIdGen ()

Protected Attributes

uInt m_idGen: numBits
 stores the last new id generated


Detailed Description

template<uInt numBits>
class newIdGen< numBits >

stores the number used to generate new unique ids

(templated with the maximum id size in bits)

Definition at line 116 of file id.h.


Member Enumeration Documentation

template<uInt numBits>
anonymous enum [protected]
 

stores the number of bits per id and the resulting maximum id possible

Enumeration values:
NUM_BITS 
MAX_ID 

Definition at line 123 of file id.h.


Constructor & Destructor Documentation

template<uInt numBits>
newIdGen< numBits >::newIdGen  )  [inline, protected]
 

Definition at line 119 of file id.h.

References newIdGen< numBits >::m_idGen.


Member Data Documentation

template<uInt numBits>
uInt newIdGen< numBits >::m_idGen [protected]
 

stores the last new id generated

Definition at line 130 of file id.h.

Referenced by newIdGen< numBits >::newIdGen().


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 22:12:35 2005 for virtualMachine03 by doxygen 1.3.7