Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::date_time::date_itr_base< date_type > Class Template Referenceabstract

Base date iterator type. More...

#include <date_iterator.hpp>

Inheritance diagram for boost::date_time::date_itr_base< date_type >:

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_baseoperator++ ()
 
date_itr_baseoperator-- ()
 
virtual duration_type get_offset (const date_type &current) const =0
 
virtual duration_type get_neg_offset (const date_type &current) 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)
 

Detailed Description

template<class date_type>
class boost::date_time::date_itr_base< date_type >

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.

Member Typedef Documentation

template<class date_type >
typedef date_type::duration_type boost::date_time::date_itr_base< date_type >::duration_type
template<class date_type >
typedef std::input_iterator_tag boost::date_time::date_itr_base< date_type >::iterator_category
template<class date_type >
typedef date_type boost::date_time::date_itr_base< date_type >::value_type

Constructor & Destructor Documentation

template<class date_type >
boost::date_time::date_itr_base< date_type >::date_itr_base ( date_type  d)
inline
template<class date_type >
virtual boost::date_time::date_itr_base< date_type >::~date_itr_base ( )
inlinevirtual

Member Function Documentation

template<class date_type >
virtual duration_type boost::date_time::date_itr_base< date_type >::get_neg_offset ( const date_type &  current) const
pure virtual
template<class date_type >
virtual duration_type boost::date_time::date_itr_base< date_type >::get_offset ( const date_type &  current) const
pure virtual
template<class date_type >
bool boost::date_time::date_itr_base< date_type >::operator!= ( const date_type &  d)
inline
template<class date_type >
date_type boost::date_time::date_itr_base< date_type >::operator* ( )
inline
template<class date_type >
date_itr_base& boost::date_time::date_itr_base< date_type >::operator++ ( )
inline
template<class date_type >
date_itr_base& boost::date_time::date_itr_base< date_type >::operator-- ( )
inline
template<class date_type >
date_type* boost::date_time::date_itr_base< date_type >::operator-> ( )
inline
template<class date_type >
bool boost::date_time::date_itr_base< date_type >::operator< ( const date_type &  d)
inline
template<class date_type >
bool boost::date_time::date_itr_base< date_type >::operator<= ( const date_type &  d)
inline
template<class date_type >
bool boost::date_time::date_itr_base< date_type >::operator== ( const date_type &  d)
inline
template<class date_type >
bool boost::date_time::date_itr_base< date_type >::operator> ( const date_type &  d)
inline
template<class date_type >
bool boost::date_time::date_itr_base< date_type >::operator>= ( const date_type &  d)
inline

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