Logo
Reference manual - version orea_version
Public Member Functions | List of all members
RiskFactorScenarioFilter Class Reference

Filter that will only allow specified keys. More...

#include <orea/scenario/scenariofilter.hpp>

+ Inheritance diagram for RiskFactorScenarioFilter:

Public Member Functions

 RiskFactorScenarioFilter (const RiskFactorKey &key, bool ignoreIndex=true)
 Include only this risk factor. More...
 
bool allow (const RiskFactorKey &key) const override
 Allow this key to be updated.
 

Detailed Description

Filter that will only allow specified keys.

Constructor & Destructor Documentation

◆ RiskFactorScenarioFilter()

RiskFactorScenarioFilter ( const RiskFactorKey key,
bool  ignoreIndex = true 
)

Include only this risk factor.

If ignore index is true, we only check the keytype and name