NeoPZ
|
#include <TPZLimitedPriorityQueue.h>
Public Member Functions | |
TPZLimitedPriorityQueue (const typename std::vector< T >::size_type limit) | |
TPZLimitedPriorityQueue (const TPZLimitedPriorityQueue &orig)=default | |
TPZLimitedPriorityQueue & | operator= (const TPZLimitedPriorityQueue &other) |
void | addItem (const T &item) |
virtual | ~TPZLimitedPriorityQueue ()=default |
Public Member Functions inherited from TPZPriorityQueue< T, std::vector< T >, Compare > | |
TPZPriorityQueue () | |
TPZPriorityQueue (const TPZPriorityQueue &other) | |
TPZPriorityQueue & | operator= (const TPZPriorityQueue &other) |
void | addItem (const T &item) |
T | popTop () |
bool | remove (T &value) |
void | remove (const typename std::vector< T > ::size_type begin, const typename std::vector< T > ::size_type end) |
T | top () |
std::vector< T > ::size_type | size () const |
const T & | getItem (const typename std::vector< T > ::size_type index) const |
void | pop () |
void | pop_back (const typename std::vector< T > ::size_type count) |
void | push (T &item) |
void | push (const T &item) |
Private Attributes | |
std::vector< T >::size_type | limit |
Additional Inherited Members | |
Public Attributes inherited from TPZPriorityQueue< T, std::vector< T >, Compare > | |
std::mutex | mMutex |
Protected Attributes inherited from TPZPriorityQueue< T, std::vector< T >, Compare > | |
std::vector< T > | c |
Compare | comp |
Definition at line 15 of file TPZLimitedPriorityQueue.h.
|
inline |
Definition at line 17 of file TPZLimitedPriorityQueue.h.
|
default |
|
virtualdefault |
Referenced by TPZLimitedPriorityQueue< T, Compare >::addItem().
|
inline |
Definition at line 27 of file TPZLimitedPriorityQueue.h.
References TPZPriorityQueue< T, std::vector< T >, Compare >::c, TPZPriorityQueue< T, std::vector< T >, Compare >::comp, TPZLimitedPriorityQueue< T, Compare >::limit, TPZPriorityQueue< T, std::vector< T >, Compare >::push(), and TPZLimitedPriorityQueue< T, Compare >::~TPZLimitedPriorityQueue().
|
inline |
Definition at line 21 of file TPZLimitedPriorityQueue.h.
References TPZLimitedPriorityQueue< T, Compare >::limit.
|
private |
Definition at line 37 of file TPZLimitedPriorityQueue.h.
Referenced by TPZLimitedPriorityQueue< T, Compare >::addItem(), and TPZLimitedPriorityQueue< T, Compare >::operator=().