DataStructures::Queue< queue_type > Class Template Reference

A queue implemented as an array with a read and write index. More...

#include <DS_Queue.h>

List of all members.

Public Member Functions

 Queue (Queue &original_copy)
bool operator= (const Queue &original_copy)
void Push (const queue_type &input)
void PushAtHead (const queue_type &input, unsigned index=0)
queue_type & operator[] (unsigned int position) const
void Del (unsigned int position)
queue_type Peek (void) const
queue_type Pop (void)
unsigned int Size (void) const
bool IsEmpty (void) const
unsigned int AllocationSize (void) const
void Clear (void)
void Compress (void)
bool Find (queue_type q)
void ClearAndForceAllocation (int size)

Private Attributes

queue_type * array
unsigned int head
unsigned int tail
unsigned int allocation_size


Detailed Description

template<class queue_type>
class DataStructures::Queue< queue_type >

A queue implemented as an array with a read and write index.


The documentation for this class was generated from the following file:
Generated on Sat Oct 14 08:37:40 2006 for RakNet by  doxygen 1.4.6-NO