Logo
Reference manual - version orea_version
CrifConfiguration Class Referenceabstract
Inheritance diagram for CrifConfiguration:

Public Member Functions

virtual const std::string & name () const =0
 Returns the SIMM configuration name.
virtual const std::string & version () const =0
 Returns the SIMM configuration version.
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
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 std::string label2 (const QuantLib::Period &p) const

Member Function Documentation

◆ name()

virtual const std::string & name ( ) const
pure virtual

Returns the SIMM configuration name.

Implemented in SimmConfigurationBase.

◆ version()

virtual const std::string & version ( ) const
pure virtual

Returns the SIMM configuration version.

Implemented in SimmConfigurationBase.

◆ bucket()

virtual std::string bucket ( const ore::analytics::CrifRecord::RiskType & rt,
const std::string & qualifier ) const
pure virtual

Return the CRIF bucket name for the given risk type rt and qualifier

Warning
Throws an error if there are no buckets for the risk type rt

Implemented in SimmConfigurationBase.

◆ hasBucketMapping()

virtual bool hasBucketMapping ( const ore::analytics::CrifRecord::RiskType & rt,
const std::string & qualifier ) const
pure virtual

Implemented in SimmConfiguration.

◆ bucketMapper()

virtual const QuantLib::ext::shared_ptr< SimmBucketMapper > & bucketMapper ( ) const
pure virtual

Returns the SIMM bucket mapper used by the configuration.

Implemented in SimmConfigurationBase.

◆ label2() [1/2]

virtual std::string label2 ( const QuantLib::ext::shared_ptr< QuantLib::InterestRateIndex > & irIndex) const
virtual

◆ label2() [2/2]

virtual std::string label2 ( const QuantLib::Period & p) const
virtual

Return the CRIF Label2 value for the given Libor tenor p. This is the CRIF sub curve name, e.g. 'Libor1m', 'Libor3m' etc.