#include <oscl_priqueue.h>
Inheritance diagram for OsclPriorityQueue< Qelem, Alloc, Container, Compare >:
Public Types | |
typedef Container::value_type | value_type |
typedef Container | container_type |
typedef Container::iterator | iterator |
typedef Container::const_reference | const_reference |
Public Methods | |
bool | empty () const |
uint32 | size () const |
void | reserve (uint32 n) |
const_reference | top () const |
const Container & | vec () |
void | push (const value_type &input) |
void | pop () |
int | remove (const value_type &input) |
OsclPriorityQueue () | |
virtual | ~OsclPriorityQueue () |
Protected Methods | |
void | push_heap (iterator first, iterator last) |
void | pop_heap (iterator first, iterator last) |
iterator | find_heap (const value_type &input, iterator first, iterator last) |
int | validate () |
void | swap (OsclAny *dest, const OsclAny *src) |
int | compare_LT (OsclAny *a, OsclAny *b) const |
int | compare_EQ (const OsclAny *a, const OsclAny *b) const |
Protected Attributes | |
Container | c |
Compare | comp |
Friends | |
class | oscl_priqueue_test |
|
|
|
|
|
|
|
|
|
|
|
|
|
Return a==b. Implements Oscl_Opaque_Type_Compare. |
|
Return a<b. Implements Oscl_Opaque_Type_Compare. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Swap element at "a" with element at "b". Both pointers must be non-NULL. Implements Oscl_Opaque_Type_Compare. |
|
|
|
|
|
|
|
|
|
|
|
|