45 ext::shared_ptr<InterestRateIndex> i =
index();
48 Date settlement = i->valueDate(refDate);
49 Date start = settlement+p;
50 return i->fixingDate(start);
degenerate base class for the Acyclic Visitor pattern
Black volatility (smile) surface.
void accept(AcyclicVisitor &) override
InterestRateVolSurface(ext::shared_ptr< InterestRateIndex >, BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter())
void accept(AcyclicVisitor &) override
const ext::shared_ptr< InterestRateIndex > & index() const
Date optionDateFromTenor(const Period &) const
period/date conversion
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
Visitor for a specific class
virtual void visit(T &)=0
BusinessDayConvention
Business Day conventions.
unsigned QL_INTEGER Natural
positive integer
Interest rate volatility (smile) surface.
ext::shared_ptr< BlackVolTermStructure > v