25#ifndef quantlib_time_basket_hpp
26#define quantlib_time_basket_hpp
38 typedef std::map<Date,Real>
super;
42 const std::vector<Real>& values);
48 using super::operator[];
84 self[j.first] += j.second;
91 self[j.first] -= j.second;
Distribution over a number of dates.
bool hasDate(const Date &) const
membership
TimeBasket rebin(const std::vector< Date > &buckets) const
redistribute the entries over the given dates
std::map< Date, Real > super
TimeBasket & operator-=(const TimeBasket &other)
TimeBasket & operator+=(const TimeBasket &other)
super::const_reverse_iterator const_reverse_iterator
super::const_iterator const_iterator
super::reverse_iterator reverse_iterator
date- and time-related classes, typedefs and enumerations