wibble  1.1
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
wibble::list::Sorted< List > Struct Template Reference

#include <list.h>

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

Classes

struct  SharedPtr
 
struct  SharedVec
 

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
 

Member Typedef Documentation

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

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 >
bool wibble::list::Sorted< List >::empty ( ) const
inline
template<typename List >
Type wibble::list::Sorted< List >::head ( ) const
inline
template<typename List >
Sorted& wibble::list::Sorted< List >::operator= ( const Sorted< List > &  o)
inline
template<typename List >
void wibble::list::Sorted< List >::sort ( ) const
inline
template<typename List >
Sorted wibble::list::Sorted< List >::tail ( ) const
inline

Member Data Documentation

template<typename List >
List wibble::list::Sorted< List >::m_list
template<typename List >
size_t wibble::list::Sorted< List >::m_pos
template<typename List >
SharedPtr wibble::list::Sorted< List >::m_sorted
mutable

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