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

#include <iterator.h>

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

Public Types

typedef Amorph< Iterator< T >, IteratorInterface< T >, 0 > Super
 
typedef T ElementType
 
- Public Types inherited from wibble::Amorph< Iterator< T >, IteratorInterface< T >, 0 >
typedef IteratorInterface< T > Interface
 
- Public Types inherited from wibble::IteratorMixin< T, Iterator< T > >
typedef T ElementType
 
typedef std::forward_iterator_tag iterator_category
 
typedef T value_type
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 
typedef const T & const_reference
 

Public Member Functions

 Iterator (const IteratorInterface< T > &i)
 
 Iterator ()
 
bool operator<= (const Iterator &i) const
 
current () const
 
virtual void advance ()
 
template<typename C >
 operator Iterator< C > ()
 
- Public Member Functions inherited from wibble::Amorph< Iterator< T >, IteratorInterface< T >, 0 >
 Amorph (const MorphInterface< Interface > &b)
 
 Amorph (const Amorph &a)
 
 Amorph ()
 
const Iterator< T > & self () const
 
Iterator< T > & self ()
 
bool leq (const Iterator< T > &i) const
 
bool operator<= (const Iterator< 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::IteratorMixin< T, Iterator< T > >
Iterator< T > & self ()
 
const Iterator< T > & self () const
 
IteratorProxy< T > operator-> () const
 
Iterator< T > next () const
 
operator* () const
 
Iterator< T > & operator++ ()
 
Iterator< T > operator++ (int)
 
- Public Member Functions inherited from wibble::mixin::Comparable< Iterator< T > >
const Iterator< T > & cmpSelf () const
 
bool operator!= (const Iterator< T > &o) const
 
bool operator== (const Iterator< T > &o) const
 
bool operator< (const Iterator< T > &o) const
 
bool operator> (const Iterator< T > &o) const
 
bool operator>= (const Iterator< T > &o) const
 

Member Typedef Documentation

◆ ElementType

template<typename T >
typedef T wibble::Iterator< T >::ElementType

◆ Super

template<typename T >
typedef Amorph< Iterator< T >, IteratorInterface< T >, 0 > wibble::Iterator< T >::Super

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename T >
wibble::Iterator< T >::Iterator ( const IteratorInterface< T > &  i)
inline

◆ Iterator() [2/2]

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

Member Function Documentation

◆ advance()

template<typename T >
virtual void wibble::Iterator< T >::advance ( )
inlinevirtual

◆ current()

template<typename T >
T wibble::Iterator< T >::current ( ) const
inline

◆ operator Iterator< C >()

template<typename T >
template<typename C >
wibble::Iterator< T >::operator Iterator< C > ( )

◆ operator<=()

template<typename T >
bool wibble::Iterator< T >::operator<= ( const Iterator< T > &  i) const
inline

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