Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
reversequeue< T, SIZE > Struct Template Reference

#include <cube_queue.hpp>

Inheritance diagram for reversequeue< T, SIZE >:
queue< T, SIZE >

Public Member Functions

T & operator[] (int offset)
 
const T & operator[] (int offset) const
 
void clear ()
 
int length () const
 
bool empty () const
 
bool full () const
 
bool inrange (size_t i) const
 
bool inrange (int i) const
 
T & added ()
 
T & added (int offset)
 
T & adding ()
 
T & adding (int offset)
 
T & add ()
 
T & add (const T &e)
 
T & pop ()
 
T & removing ()
 
T & removing (int offset)
 
T & remove ()
 

Public Attributes

int head
 
int tail
 
int len
 
data [SIZE]
 

Member Function Documentation

template<class T, int SIZE>
T& queue< T, SIZE >::add ( )
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::add ( const T &  e)
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::added ( )
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::added ( int  offset)
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::adding ( )
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::adding ( int  offset)
inlineinherited
template<class T, int SIZE>
void queue< T, SIZE >::clear ( )
inlineinherited
template<class T, int SIZE>
bool queue< T, SIZE >::empty ( ) const
inlineinherited
template<class T, int SIZE>
bool queue< T, SIZE >::full ( ) const
inlineinherited
template<class T, int SIZE>
bool queue< T, SIZE >::inrange ( size_t  i) const
inlineinherited
template<class T, int SIZE>
bool queue< T, SIZE >::inrange ( int  i) const
inlineinherited
template<class T, int SIZE>
int queue< T, SIZE >::length ( ) const
inlineinherited
template<class T , int SIZE>
T& reversequeue< T, SIZE >::operator[] ( int  offset)
inline
template<class T , int SIZE>
const T& reversequeue< T, SIZE >::operator[] ( int  offset) const
inline
template<class T, int SIZE>
T& queue< T, SIZE >::pop ( )
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::remove ( )
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::removing ( )
inlineinherited
template<class T, int SIZE>
T& queue< T, SIZE >::removing ( int  offset)
inlineinherited

Member Data Documentation

template<class T, int SIZE>
T queue< T, SIZE >::data[SIZE]
inherited
template<class T, int SIZE>
int queue< T, SIZE >::head
inherited
template<class T, int SIZE>
int queue< T, SIZE >::len
inherited
template<class T, int SIZE>
int queue< T, SIZE >::tail
inherited

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