Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template time_itr

boost::date_time::time_itr — Simple time iterator skeleton class.

Synopsis

// In header: <boost/date_time/time_iterator.hpp>

template<typename time_type> 
class time_itr {
public:
  // types
  typedef time_type::time_duration_type time_duration_type;

  // construct/copy/destruct
  time_itr(time_type, time_duration_type);

  // public member functions
  time_itr & operator++();
  time_itr & operator--();
  time_type operator*();
  time_type * operator->();
  bool operator<(const time_type &);
  bool operator<=(const time_type &);
  bool operator!=(const time_type &);
  bool operator==(const time_type &);
  bool operator>(const time_type &);
  bool operator>=(const time_type &);
};

Description

time_itr public construct/copy/destruct

  1. time_itr(time_type t, time_duration_type d);

time_itr public member functions

  1. time_itr & operator++();
  2. time_itr & operator--();
  3. time_type operator*();
  4. time_type * operator->();
  5. bool operator<(const time_type & t);
  6. bool operator<=(const time_type & t);
  7. bool operator!=(const time_type & t);
  8. bool operator==(const time_type & t);
  9. bool operator>(const time_type & t);
  10. bool operator>=(const time_type & t);

PrevUpHomeNext