#include <llindexedqueue.h>
Collaboration diagram for LLIndexedQueue< Type >:
Public Member Functions | |
LLIndexedQueue () | |
bool | push_back (const Type &value, bool move_if_there=false) |
bool | push_front (const Type &value, bool move_if_there=false) |
void | pop () |
Type & | front () |
S32 | size () const |
bool | empty () const |
void | clear () |
Protected Types | |
typedef std::deque< Type > | type_deque |
Protected Attributes | |
type_deque | mQueue |
std::set< Type > | mKeySet |
Definition at line 41 of file llindexedqueue.h.
typedef std::deque<Type> LLIndexedQueue< Type >::type_deque [protected] |
Definition at line 44 of file llindexedqueue.h.
LLIndexedQueue< Type >::LLIndexedQueue | ( | ) | [inline] |
Definition at line 49 of file llindexedqueue.h.
void LLIndexedQueue< Type >::clear | ( | ) | [inline] |
Definition at line 152 of file llindexedqueue.h.
References LLIndexedQueue< Type >::mKeySet, and LLIndexedQueue< Type >::mQueue.
bool LLIndexedQueue< Type >::empty | ( | ) | const [inline] |
Type& LLIndexedQueue< Type >::front | ( | ) | [inline] |
void LLIndexedQueue< Type >::pop | ( | ) | [inline] |
Definition at line 130 of file llindexedqueue.h.
References LLIndexedQueue< Type >::mKeySet, and LLIndexedQueue< Type >::mQueue.
bool LLIndexedQueue< Type >::push_back | ( | const Type & | value, | |
bool | move_if_there = false | |||
) | [inline] |
Definition at line 52 of file llindexedqueue.h.
References LLIndexedQueue< Type >::mKeySet, and LLIndexedQueue< Type >::mQueue.
bool LLIndexedQueue< Type >::push_front | ( | const Type & | value, | |
bool | move_if_there = false | |||
) | [inline] |
Definition at line 92 of file llindexedqueue.h.
References LLIndexedQueue< Type >::mKeySet, and LLIndexedQueue< Type >::mQueue.
S32 LLIndexedQueue< Type >::size | ( | ) | const [inline] |
std::set<Type> LLIndexedQueue< Type >::mKeySet [protected] |
Definition at line 46 of file llindexedqueue.h.
Referenced by LLIndexedQueue< Type >::clear(), LLIndexedQueue< Type >::pop(), LLIndexedQueue< Type >::push_back(), and LLIndexedQueue< Type >::push_front().
type_deque LLIndexedQueue< Type >::mQueue [protected] |
Definition at line 45 of file llindexedqueue.h.
Referenced by LLIndexedQueue< Type >::clear(), LLIndexedQueue< Type >::empty(), LLIndexedQueue< Type >::front(), LLIndexedQueue< Type >::pop(), LLIndexedQueue< Type >::push_back(), LLIndexedQueue< Type >::push_front(), and LLIndexedQueue< Type >::size().