24#ifndef quantlib_pool_hpp
25#define quantlib_pool_hpp
37 bool has (
const std::string& name)
const;
38 void add (
const std::string& name,
const Issuer& issuer,
41 const Issuer&
get (
const std::string& name)
const;
45 const std::vector<std::string>&
names()
const;
50 std::map<std::string,Issuer>
data_;
51 std::map<std::string,Real>
time_;
ISDA standard default contractual key for corporate US debt.
const Issuer & get(const std::string &name) const
std::map< std::string, Real > time_
void add(const std::string &name, const Issuer &issuer, const DefaultProbKey &contractTrigger=NorthAmericaCorpDefaultKey(Currency(), SeniorSec, Period(), 1.))
std::vector< DefaultProbKey > defaultKeys() const
const DefaultProbKey & defaultKey(const std::string &name) const
std::map< std::string, Issuer > data_
Real getTime(const std::string &name) const
void setTime(const std::string &name, Real time)
const std::vector< std::string > & names() const
bool has(const std::string &name) const
std::vector< std::string > names_
std::map< std::string, DefaultProbKey > defaultKeys_
std::size_t Size
size of a container
Classes for credit-name handling.