25#ifndef quantlib_issuer_hpp
26#define quantlib_issuer_hpp
36 typedef std::set<ext::shared_ptr<DefaultEvent>,
37 earlier_than<ext::shared_ptr<DefaultEvent> > >
55 Issuer(std::vector<key_curve_pair> probabilities = std::vector<key_curve_pair>(),
58 Issuer(
const std::vector<std::vector<ext::shared_ptr<DefaultType> > >& eventTypes,
59 const std::vector<Currency>& currencies,
60 const std::vector<Seniority>& seniorities,
76 ext::shared_ptr<DefaultEvent>
80 bool includeRefDate =
false
84 std::vector<ext::shared_ptr<DefaultEvent> >
Shared handle to an observable.
ext::shared_ptr< DefaultEvent > defaultedBetween(const Date &start, const Date &end, const DefaultProbKey &key, bool includeRefDate=false) const
If a default event with the required seniority and.
std::pair< DefaultProbKey, Handle< DefaultProbabilityTermStructure > > key_curve_pair
DefaultEventSet events_
History of past events affecting this issuer. Notice it is possible.
const Handle< DefaultProbabilityTermStructure > & defaultProbability(const DefaultProbKey &key) const
std::vector< std::pair< DefaultProbKey, Handle< DefaultProbabilityTermStructure > > > probabilities_
probabilities of events for each bond collection
std::vector< ext::shared_ptr< DefaultEvent > > defaultsBetween(const Date &start, const Date &end, const DefaultProbKey &contractKey, bool includeRefDate) const
Issuer(std::vector< key_curve_pair > probabilities=std::vector< key_curve_pair >(), DefaultEventSet events=DefaultEventSet())
Classes for default-event description.
Classes for default-event description.
default-probability term structure
std::set< ext::shared_ptr< DefaultEvent >, earlier_than< ext::shared_ptr< DefaultEvent > > > DefaultEventSet