28#include <ql/indexes/interestrateindex.hpp>
29#include <ql/time/period.hpp>
42 virtual const std::string&
name()
const = 0;
45 virtual const std::string&
version()
const = 0;
57 virtual const QuantLib::ext::shared_ptr<SimmBucketMapper>&
bucketMapper()
const = 0;
63 virtual std::string
label2(
const QuantLib::ext::shared_ptr<QuantLib::InterestRateIndex>& irIndex)
const;
68 virtual std::string
label2(
const QuantLib::Period& p)
const;
virtual const std::string & version() const =0
Returns the SIMM configuration version.
virtual const QuantLib::ext::shared_ptr< SimmBucketMapper > & bucketMapper() const =0
Returns the SIMM bucket mapper used by the configuration.
virtual std::string label2(const QuantLib::ext::shared_ptr< QuantLib::InterestRateIndex > &irIndex) const
virtual const std::string & name() const =0
Returns the SIMM configuration name.
virtual ~CrifConfiguration()
virtual std::string bucket(const ore::analytics::CrifRecord::RiskType &rt, const std::string &qualifier) const =0
virtual bool hasBucketMapping(const ore::analytics::CrifRecord::RiskType &rt, const std::string &qualifier) const =0
Struct for holding a CRIF record.
Abstract base class for classes that map SIMM qualifiers to buckets.