#include <list.h>
Public Types | |
typedef std::vector< typename List::Type > | Vec |
typedef List::Type | Type |
Public Member Functions | |
void | sort () const |
Type | head () const |
Sorted | tail () const |
bool | empty () const |
Sorted (const Sorted &o) | |
Sorted & | operator= (const Sorted &o) |
Sorted (List l=List()) | |
Public Attributes | |
List | m_list |
SharedPtr | m_sorted |
size_t | m_pos |
Classes | |
struct | SharedPtr |
struct | SharedVec |
typedef std::vector< typename List::Type > wibble::list::Sorted< List >::Vec |
typedef List::Type wibble::list::Sorted< List >::Type |
wibble::list::Sorted< List >::Sorted | ( | const Sorted< List > & | o | ) | [inline] |
wibble::list::Sorted< List >::Sorted | ( | List | l = List() |
) | [inline] |
void wibble::list::Sorted< List >::sort | ( | ) | const [inline] |
Type wibble::list::Sorted< List >::head | ( | ) | const [inline] |
Sorted wibble::list::Sorted< List >::tail | ( | ) | const [inline] |
References wibble::list::Sorted< List >::m_pos, and wibble::list::Sorted< List >::sort().
bool wibble::list::Sorted< List >::empty | ( | ) | const [inline] |
Sorted& wibble::list::Sorted< List >::operator= | ( | const Sorted< List > & | o | ) | [inline] |
List wibble::list::Sorted< List >::m_list |
Referenced by wibble::list::Sorted< List >::operator=(), and wibble::list::Sorted< List >::sort().
SharedPtr wibble::list::Sorted< List >::m_sorted [mutable] |
size_t wibble::list::Sorted< List >::m_pos |