25#ifndef quantlib_callability_schedule_hpp
26#define quantlib_callability_schedule_hpp
degenerate base class for the Acyclic Visitor pattern
Type
type of the callability
void accept(AcyclicVisitor &) override
Callability(const Bond::Price &price, Type type, const Date &date)
Date date() const override
returns the date at which the event occurs
const Bond::Price & price() const
ext::optional< Bond::Price > price_
virtual void accept(AcyclicVisitor &)
Visitor for a specific class
virtual void visit(T &)=0
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
Base class for events associated with a given date.
std::vector< ext::shared_ptr< Callability > > CallabilitySchedule
Maps optional to either the boost or std implementation.
ext::shared_ptr< BlackVolTermStructure > v
Maps shared_ptr to either the boost or std implementation.
degenerate base class for the Acyclic Visitor pattern