26#ifndef quantlib_yield_term_structure_hpp
27#define quantlib_yield_term_structure_hpp
72 bool extrapolate =
false)
const;
77 bool extrapolate =
false)
const;
94 bool extrapolate =
false)
const;
103 bool extrapolate =
false)
const;
124 bool extrapolate =
false)
const;
134 bool extrapolate =
false)
const;
144 bool extrapolate =
false)
const;
149 const std::vector<Date>&
jumpDates()
const;
150 const std::vector<Time>&
jumpTimes()
const;
184 bool extrapolate)
const {
194 bool extrapolate)
const {
Shared handle to an observable.
Concrete interest rate class.
Basic term-structure functionality.
virtual Natural settlementDays() const
the settlementDays used for reference date calculation
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
Time timeFromReference(const Date &date) const
date/time conversion
virtual DayCounter dayCounter() const
the day counter used for date/time conversion
Interest-rate term structure.
std::vector< Date > jumpDates_
DiscountFactor discount(const Date &d, bool extrapolate=false) const
std::vector< Time > jumpTimes_
const std::vector< Time > & jumpTimes() const
InterestRate zeroRate(const Date &d, const DayCounter &resultDayCounter, Compounding comp, Frequency freq=Annual, bool extrapolate=false) const
const std::vector< Date > & jumpDates() const
std::vector< Handle< Quote > > jumps_
void setJumps(const Date &referenceDate)
InterestRate forwardRate(const Date &d1, const Date &d2, const DayCounter &resultDayCounter, Compounding comp, Frequency freq=Annual, bool extrapolate=false) const
virtual DiscountFactor discountImpl(Time) const =0
discount factor calculation
Frequency
Frequency of events.
Real Time
continuous quantity with 1-year units
Real DiscountFactor
discount factor between dates
unsigned QL_INTEGER Natural
positive integer
std::size_t Size
size of a container
Compounding
Interest rate coumpounding rule.
purely virtual base class for market observables
base class for term structures