wibble::list::Sorted< List > Struct Template Reference

#include <list.h>

Collaboration diagram for wibble::list::Sorted< List >:
[legend]

List of all members.

template<typename List>
struct wibble::list::Sorted< List >


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)
Sortedoperator= (const Sorted &o)
 Sorted (List l=List())

Public Attributes

List m_list
SharedPtr m_sorted
size_t m_pos

Classes

struct  SharedPtr
struct  SharedVec

Member Typedef Documentation

template<typename List>
typedef std::vector< typename List::Type > wibble::list::Sorted< List >::Vec

template<typename List>
typedef List::Type wibble::list::Sorted< List >::Type


Constructor & Destructor Documentation

template<typename List>
wibble::list::Sorted< List >::Sorted ( const Sorted< List > &  o  )  [inline]

template<typename List>
wibble::list::Sorted< List >::Sorted ( List  l = List()  )  [inline]


Member Function Documentation

template<typename List>
void wibble::list::Sorted< List >::sort (  )  const [inline]

template<typename List>
Type wibble::list::Sorted< List >::head (  )  const [inline]

template<typename List>
Sorted wibble::list::Sorted< List >::tail (  )  const [inline]

template<typename List>
bool wibble::list::Sorted< List >::empty (  )  const [inline]

template<typename List>
Sorted& wibble::list::Sorted< List >::operator= ( const Sorted< List > &  o  )  [inline]


Member Data Documentation

template<typename List>
List wibble::list::Sorted< List >::m_list

template<typename List>
SharedPtr wibble::list::Sorted< List >::m_sorted [mutable]

template<typename List>
size_t wibble::list::Sorted< List >::m_pos


The documentation for this struct was generated from the following file:

Generated on Sun Nov 16 04:16:30 2008 for wibble by  doxygen 1.5.6