wibble  1.1
Public Member Functions | Protected Attributes | List of all members
wibble::IntersectionRange< T > Struct Template Reference

#include <range.h>

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

Public Member Functions

 IntersectionRange ()
 
 IntersectionRange (Range< T > r1, Range< T > r2)
 
void find () const
 
void removeFirst ()
 
head () const
 
void setToEmpty ()
 
bool operator<= (const IntersectionRange &f) const
 
- Public Member Functions inherited from wibble::RangeMixin< T, IntersectionRange< T > >
const IntersectionRange< T > & self () const
 
iterator begin () const
 
iterator end () const
 
head ()
 
IntersectionRange< T > tail () const
 
void output (Consumer< T > t) const
 
bool empty () const
 
 ~RangeMixin ()
 
- Public Member Functions inherited from wibble::mixin::Comparable< IntersectionRange< T > >
const IntersectionRange< T > & cmpSelf () const
 
bool operator!= (const IntersectionRange< T > &o) const
 
bool operator== (const IntersectionRange< T > &o) const
 
bool operator< (const IntersectionRange< T > &o) const
 
bool operator> (const IntersectionRange< T > &o) const
 
bool operator>= (const IntersectionRange< T > &o) const
 

Protected Attributes

Range< T > m_first
 
Range< T > m_second
 
bool m_valid:1
 

Additional Inherited Members

- Public Types inherited from wibble::RangeMixin< T, IntersectionRange< T > >
typedef IntersectionRange< T > RangeImplementation
 
typedef T ElementType
 
typedef IteratorMixin< T,
IntersectionRange< T > > 
Base
 
typedef RangeIterator
< IntersectionRange< T > > 
iterator
 

Constructor & Destructor Documentation

template<typename T>
wibble::IntersectionRange< T >::IntersectionRange ( )
inline
template<typename T>
wibble::IntersectionRange< T >::IntersectionRange ( Range< T >  r1,
Range< T >  r2 
)
inline

Member Function Documentation

template<typename T>
void wibble::IntersectionRange< T >::find ( ) const
inline
template<typename T>
T wibble::IntersectionRange< T >::head ( ) const
inline
template<typename T>
bool wibble::IntersectionRange< T >::operator<= ( const IntersectionRange< T > &  f) const
inline
template<typename T>
void wibble::IntersectionRange< T >::removeFirst ( )
inline
template<typename T>
void wibble::IntersectionRange< T >::setToEmpty ( )
inline

Member Data Documentation

template<typename T>
Range< T > wibble::IntersectionRange< T >::m_first
mutableprotected
template<typename T>
Range< T > wibble::IntersectionRange< T >::m_second
mutableprotected
template<typename T>
bool wibble::IntersectionRange< T >::m_valid
mutableprotected

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