Base date iterator type. More...
#include <date_iterator.hpp>
Public Types | |
typedef date_type::duration_type | duration_type |
typedef date_type | value_type |
typedef std::input_iterator_tag | iterator_category |
Public Member Functions | |
date_itr_base (date_type d) | |
virtual | ~date_itr_base () |
date_itr_base & | operator++ () |
date_itr_base & | operator-- () |
virtual duration_type | get_offset (const date_type ¤t) const =0 |
virtual duration_type | get_neg_offset (const date_type ¤t) const =0 |
date_type | operator* () |
date_type * | operator-> () |
bool | operator< (const date_type &d) |
bool | operator<= (const date_type &d) |
bool | operator> (const date_type &d) |
bool | operator>= (const date_type &d) |
bool | operator== (const date_type &d) |
bool | operator!= (const date_type &d) |
Base date iterator type.
This class provides the skeleton for the creation of iterators. New and interesting interators can be created by plugging in a new function that derives the next value from the current state. generation of various types of -based information.
Template Parameters
date_type
The date_type is a concrete date_type. The date_type must define a duration_type and a calendar_type.
typedef date_type::duration_type boost::date_time::date_itr_base< date_type >::duration_type |
typedef std::input_iterator_tag boost::date_time::date_itr_base< date_type >::iterator_category |
typedef date_type boost::date_time::date_itr_base< date_type >::value_type |
|
inline |
|
inlinevirtual |
|
pure virtual |
Referenced by boost::date_time::date_itr_base< date_type >::operator--().
|
pure virtual |
Referenced by boost::date_time::date_itr_base< date_type >::operator++().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |