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< Self >
const SelfcmpSelf () 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
 

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
 
typedefElementType
 
typedef IteratorMixin< T, IntersectionRange< T > > Base
 
typedef RangeIterator< IntersectionRange< T > > iterator
 

Constructor & Destructor Documentation

◆ IntersectionRange() [1/2]

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

◆ IntersectionRange() [2/2]

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

Member Function Documentation

◆ find()

template<typename T >
void wibble::IntersectionRange< T >::find ( ) const
inline

◆ head()

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

◆ operator<=()

template<typename T >
bool wibble::IntersectionRange< T >::operator<= ( const IntersectionRange< T > &  f) const
inline

◆ removeFirst()

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

◆ setToEmpty()

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

Member Data Documentation

◆ m_first

template<typename T >
Range< T > wibble::IntersectionRange< T >::m_first
mutableprotected

◆ m_second

template<typename T >
Range< T > wibble::IntersectionRange< T >::m_second
protected

◆ m_valid

template<typename T >
bool wibble::IntersectionRange< T >::m_valid
mutableprotected

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