25#ifndef quantlib_callability_schedule_hpp
26#define quantlib_callability_schedule_hpp
28#include <ql/event.hpp>
29#include <ql/instruments/bond.hpp>
30#include <ql/patterns/visitor.hpp>
31#include <ql/utilities/null.hpp>
32#include <ql/shared_ptr.hpp>
33#include <ql/optional.hpp>
47 QL_REQUIRE(
price_,
"no price given");
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
std::vector< ext::shared_ptr< Callability > > CallabilitySchedule