cheshirekow  v0.1.0
mpblocks::clarkson93::P_Queue< T > Class Template Reference

A priority queue with a slightly more readable interface than from the STL. More...

#include <mpblocks/clarkson93/PQueue.h>

Inheritance diagram for mpblocks::clarkson93::P_Queue< T >:

Public Types

typedef std::priority_queue< T,
std::vector< T >, std::greater
< T > > 
Base
 
typedef Base::size_type size_t
 

Public Member Functions

std::vector< T >::iterator begin ()
 
void clear ()
 
std::vector< T >::iterator end ()
 
pop ()
 
void reserve (size_t cap)
 

Detailed Description

template<class T>
class mpblocks::clarkson93::P_Queue< T >

A priority queue with a slightly more readable interface than from the STL.

Definition at line 36 of file PQueue.h.

Member Typedef Documentation

template<class T>
typedef std::priority_queue<T, std::vector<T>, std::greater<T> > mpblocks::clarkson93::P_Queue< T >::Base

Definition at line 39 of file PQueue.h.

template<class T>
typedef Base::size_type mpblocks::clarkson93::P_Queue< T >::size_t

Definition at line 40 of file PQueue.h.

Member Function Documentation

template<class T>
std::vector<T>::iterator mpblocks::clarkson93::P_Queue< T >::begin ( )
inline

Definition at line 42 of file PQueue.h.

template<class T>
void mpblocks::clarkson93::P_Queue< T >::clear ( )
inline

Definition at line 48 of file PQueue.h.

template<class T>
std::vector<T>::iterator mpblocks::clarkson93::P_Queue< T >::end ( )
inline

Definition at line 44 of file PQueue.h.

template<class T>
T mpblocks::clarkson93::P_Queue< T >::pop ( )
inline

Definition at line 50 of file PQueue.h.

template<class T>
void mpblocks::clarkson93::P_Queue< T >::reserve ( size_t  cap)
inline

Definition at line 46 of file PQueue.h.


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