LLIndexedQueue< Type > Class Template Reference

#include <llindexedqueue.h>

Collaboration diagram for LLIndexedQueue< Type >:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

template<typename Type>
class LLIndexedQueue< Type >

Definition at line 41 of file llindexedqueue.h.


Member Typedef Documentation

template<typename Type>
typedef std::deque<Type> LLIndexedQueue< Type >::type_deque [protected]

Definition at line 44 of file llindexedqueue.h.


Constructor & Destructor Documentation

template<typename Type>
LLIndexedQueue< Type >::LLIndexedQueue (  )  [inline]

Definition at line 49 of file llindexedqueue.h.


Member Function Documentation

template<typename Type>
void LLIndexedQueue< Type >::clear (  )  [inline]

Definition at line 152 of file llindexedqueue.h.

References LLIndexedQueue< Type >::mKeySet, and LLIndexedQueue< Type >::mQueue.

template<typename Type>
bool LLIndexedQueue< Type >::empty (  )  const [inline]

Definition at line 147 of file llindexedqueue.h.

References LLIndexedQueue< Type >::mQueue.

template<typename Type>
Type& LLIndexedQueue< Type >::front (  )  [inline]

Definition at line 137 of file llindexedqueue.h.

References LLIndexedQueue< Type >::mQueue.

template<typename Type>
void LLIndexedQueue< Type >::pop (  )  [inline]

Definition at line 130 of file llindexedqueue.h.

References LLIndexedQueue< Type >::mKeySet, and LLIndexedQueue< Type >::mQueue.

template<typename Type>
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.

template<typename Type>
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.

template<typename Type>
S32 LLIndexedQueue< Type >::size (  )  const [inline]

Definition at line 142 of file llindexedqueue.h.

References LLIndexedQueue< Type >::mQueue.


Member Data Documentation

template<typename Type>
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().

template<typename Type>
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().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:25 2010 for Second Life Viewer by  doxygen 1.4.7