ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::Queue< T > Class Template Reference

Variable size Queue class, implemented using our List class. More...

#include <queue.h>

Inheritance diagram for Common::Queue< T >:
Collaboration diagram for Common::Queue< T >:

List of all members.

Public Member Functions

 Queue ()
 Queue (const Queue< T > &queue)
bool empty () const
void clear ()
void push (const T &x)
T & front ()
const T & front () const
T & back ()
const T & back () const
pop ()
int size () const

Private Attributes

List< T > _impl

Detailed Description

template<class T>
class Common::Queue< T >

Variable size Queue class, implemented using our List class.

Definition at line 35 of file queue.h.


Constructor & Destructor Documentation

template<class T>
Common::Queue< T >::Queue (  )  [inline]
template<class T>
Common::Queue< T >::Queue ( const Queue< T > &  queue  )  [inline]

Member Function Documentation

template<class T>
T& Common::Queue< T >::back (  )  [inline]

Definition at line 63 of file queue.h.

template<class T>
const T& Common::Queue< T >::back (  )  const [inline]

Definition at line 67 of file queue.h.

template<class T>
void Common::Queue< T >::clear (  )  [inline]

Definition at line 47 of file queue.h.

template<class T>
bool Common::Queue< T >::empty (  )  const [inline]

Definition at line 43 of file queue.h.

template<class T>
T& Common::Queue< T >::front (  )  [inline]

Definition at line 55 of file queue.h.

template<class T>
const T& Common::Queue< T >::front (  )  const [inline]

Definition at line 59 of file queue.h.

template<class T>
T Common::Queue< T >::pop (  )  [inline]

Definition at line 71 of file queue.h.

template<class T>
void Common::Queue< T >::push ( const T &  x  )  [inline]

Definition at line 51 of file queue.h.

template<class T>
int Common::Queue< T >::size (  )  const [inline]

Definition at line 77 of file queue.h.


Member Data Documentation

template<class T>
List<T> Common::Queue< T >::_impl [private]

Definition at line 82 of file queue.h.


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


Generated on Sat Mar 23 2019 05:07:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge