OmniSciDB  ba1bac9284
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Intervals< T, U >::Iterator Class Reference

#include <Intervals.h>

+ Inheritance diagram for Intervals< T, U >::Iterator:
+ Collaboration diagram for Intervals< T, U >::Iterator:

Public Member Functions

 Iterator (T begin, U quot, U rem)
 
Interval< T > operator* () const
 
void operator++ ()
 
bool operator== (Iterator const &rhs) const
 
bool operator!= (Iterator const &rhs) const
 

Private Attributes

begin_
 
U const quot_
 
rem_
 
index {0}
 

Detailed Description

template<typename T, typename U = typename std::make_unsigned<T>::type>
class Intervals< T, U >::Iterator

Definition at line 89 of file Intervals.h.

Constructor & Destructor Documentation

template<typename T, typename U = typename std::make_unsigned<T>::type>
Intervals< T, U >::Iterator::Iterator ( begin,
quot,
rem 
)
inline

Definition at line 96 of file Intervals.h.

96 : begin_(begin), quot_(quot), rem_(rem) {}
Iterator begin() const
Definition: Intervals.h:109

Member Function Documentation

template<typename T, typename U = typename std::make_unsigned<T>::type>
bool Intervals< T, U >::Iterator::operator!= ( Iterator const rhs) const
inline

Definition at line 105 of file Intervals.h.

References Intervals< T, U >::Iterator::begin_.

105 { return begin_ != rhs.begin_; }
template<typename T, typename U = typename std::make_unsigned<T>::type>
Interval<T> Intervals< T, U >::Iterator::operator* ( ) const
inline
template<typename T, typename U = typename std::make_unsigned<T>::type>
void Intervals< T, U >::Iterator::operator++ ( void  )
inline
template<typename T, typename U = typename std::make_unsigned<T>::type>
bool Intervals< T, U >::Iterator::operator== ( Iterator const rhs) const
inline

Definition at line 104 of file Intervals.h.

References Intervals< T, U >::Iterator::begin_.

104 { return begin_ == rhs.begin_; }

Member Data Documentation

template<typename T, typename U = typename std::make_unsigned<T>::type>
T Intervals< T, U >::Iterator::begin_
private
template<typename T, typename U = typename std::make_unsigned<T>::type>
U Intervals< T, U >::Iterator::index {0}
private
template<typename T, typename U = typename std::make_unsigned<T>::type>
U const Intervals< T, U >::Iterator::quot_
private
template<typename T, typename U = typename std::make_unsigned<T>::type>
U Intervals< T, U >::Iterator::rem_
private

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