TimeBasket Class Reference

#include <ql/cashflows/timebasket.hpp>

Inherits map.

List of all members.


Detailed Description

Distribution over a number of dates.

Map interface

typedef super::iterator iterator
typedef super::const_iterator const_iterator
typedef super::reverse_iterator reverse_iterator
typedef
super::const_reverse_iterator 
const_reverse_iterator
bool hasDate (const Date &) const
 membership

Public Member Functions

 TimeBasket (const std::vector< Date > &dates, const std::vector< Real > &values)
Algebra
TimeBasketoperator+= (const TimeBasket &other)
TimeBasketoperator-= (const TimeBasket &other)
Other methods
TimeBasket rebin (const std::vector< Date > &buckets) const
 redistribute the entries over the given dates