#include <CircularQueue.hpp>
Public Member Functions | |
CircularQueue () | |
~CircularQueue () | |
void | clear (void) |
Clear the queue. | |
T | elementAt (size_t idx) const |
void | removeFirst () |
void | removeItems (size_t nb) |
void | append (const T &t) |
size_t | entries () const |
Private Member Functions | |
ANTLR_USE_NAMESPACE (std) vector< T > storage | |
CircularQueue (const CircularQueue &) | |
const CircularQueue & | operator= (const CircularQueue &) |
Private Attributes | |
size_t | m_offset |
Definition at line 24 of file CircularQueue.hpp.
CircularQueue< T >::CircularQueue | ( | ) | [inline] |
Definition at line 26 of file CircularQueue.hpp.
CircularQueue< T >::~CircularQueue | ( | ) | [inline] |
Definition at line 31 of file CircularQueue.hpp.
CircularQueue< T >::CircularQueue | ( | const CircularQueue< T > & | ) | [private] |
void CircularQueue< T >::clear | ( | void | ) | [inline] |
T CircularQueue< T >::elementAt | ( | size_t | idx | ) | const [inline] |
void CircularQueue< T >::removeFirst | ( | ) | [inline] |
Definition at line 47 of file CircularQueue.hpp.
void CircularQueue< T >::removeItems | ( | size_t | nb | ) | [inline] |
Definition at line 57 of file CircularQueue.hpp.
void CircularQueue< T >::append | ( | const T & | t | ) | [inline] |
Definition at line 79 of file CircularQueue.hpp.
size_t CircularQueue< T >::entries | ( | ) | const [inline] |
Definition at line 83 of file CircularQueue.hpp.
CircularQueue< T >::ANTLR_USE_NAMESPACE | ( | std | ) | [private] |
const CircularQueue& CircularQueue< T >::operator= | ( | const CircularQueue< T > & | ) | [private] |
size_t CircularQueue< T >::m_offset [private] |
Definition at line 90 of file CircularQueue.hpp.