wibble  1.1
Public Types | Public Member Functions | List of all members
wibble::Range< T > Struct Template Reference

#include <range.h>

Inheritance diagram for wibble::Range< T >:
Inheritance graph
[legend]
Collaboration diagram for wibble::Range< T >:
Collaboration graph
[legend]

Public Types

typedef Amorph< Range< T >, RangeInterface< T > > Super
 
- Public Types inherited from wibble::Amorph< Range< T >, RangeInterface< T > >
typedef RangeInterface< T > Interface
 
- Public Types inherited from wibble::RangeMixin< T, Range< T > >
typedef Range< T > RangeImplementation
 
typedef T ElementType
 
typedef IteratorMixin< T, Range< T > > Base
 
typedef RangeIterator< Range< T > > iterator
 

Public Member Functions

template<typename C >
 Range (const C &i, typename IsType< int, typename C::RangeImplementation >::T fake=0)
 
 Range ()
 
head () const
 
void removeFirst ()
 
void setToEmpty ()
 
template<typename C >
 operator Range< C > ()
 
- Public Member Functions inherited from wibble::Amorph< Range< T >, RangeInterface< T > >
 Amorph (const MorphInterface< Interface > &b)
 
 Amorph (const Amorph &a)
 
 Amorph ()
 
const Range< T > & self () const
 
Range< T > & self ()
 
bool leq (const Range< T > &i) const
 
bool operator<= (const Range< T > &i) const
 
void setInterfacePointer (const Interface *i)
 
void setMorphInterfacePointer (const MorphInterface< Interface > *i)
 
Amorphoperator= (const Amorph &i)
 
 ~Amorph ()
 
Maybe< typename F::result_type > ifType (F func)
 
const Interfaceimplementation () const
 
Interfaceimplementation ()
 
MorphInterface< Interface > * morphInterface () const
 
const Interfacewrapped () const
 
Interfacewrapped ()
 
bool is () const
 
bool isVoid () const
 
T * impl () const
 
- Public Member Functions inherited from wibble::RangeMixin< T, Range< T > >
const Range< T > & self () const
 
iterator begin () const
 
iterator end () const
 
head ()
 
Range< T > tail () const
 
void output (Consumer< T > t) const
 
bool empty () const
 
 ~RangeMixin ()
 
- Public Member Functions inherited from wibble::mixin::Comparable< Self >
const Self & cmpSelf () const
 
bool operator!= (const Self &o) const
 
bool operator== (const Self &o) const
 
bool operator< (const Self &o) const
 
bool operator> (const Self &o) const
 
bool operator>= (const Self &o) const
 

Member Typedef Documentation

◆ Super

template<typename T >
typedef Amorph< Range< T >, RangeInterface< T > > wibble::Range< T >::Super

Constructor & Destructor Documentation

◆ Range() [1/2]

template<typename T >
template<typename C >
wibble::Range< T >::Range ( const C &  i,
typename IsType< int, typename C::RangeImplementation >::T  fake = 0 
)
inline

◆ Range() [2/2]

template<typename T >
wibble::Range< T >::Range ( )
inline

Member Function Documentation

◆ head()

template<typename T >
T wibble::Range< T >::head ( ) const
inline

◆ operator Range< C >()

template<typename T >
template<typename C >
wibble::Range< T >::operator Range< C >

◆ removeFirst()

template<typename T >
void wibble::Range< T >::removeFirst ( )
inline

◆ setToEmpty()

template<typename T >
void wibble::Range< T >::setToEmpty ( )
inline

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