Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MarketRiskGroup Class Reference

#include <orea/engine/marketriskreport.hpp>

+ Inheritance diagram for MarketRiskGroup:
+ Collaboration diagram for MarketRiskGroup:

Public Member Functions

 MarketRiskGroup ()
 
 MarketRiskGroup (MarketRiskConfiguration::RiskClass riskClass, MarketRiskConfiguration::RiskType riskType)
 
MarketRiskConfiguration::RiskClass riskClass () const
 
MarketRiskConfiguration::RiskType riskType () const
 
std::string to_string () override
 
bool allLevel () const override
 
- Public Member Functions inherited from MarketRiskGroupBase
 MarketRiskGroupBase ()
 
virtual ~MarketRiskGroupBase ()
 
virtual std::string to_string ()=0
 
virtual bool allLevel () const =0
 

Private Attributes

MarketRiskConfiguration::RiskClass riskClass_
 
MarketRiskConfiguration::RiskType riskType_
 

Detailed Description

Definition at line 83 of file marketriskreport.hpp.

Constructor & Destructor Documentation

◆ MarketRiskGroup() [1/2]

Definition at line 85 of file marketriskreport.hpp.

85{}

◆ MarketRiskGroup() [2/2]

Definition at line 86 of file marketriskreport.hpp.

MarketRiskConfiguration::RiskType riskType_
MarketRiskConfiguration::RiskClass riskClass() const
MarketRiskConfiguration::RiskClass riskClass_
MarketRiskConfiguration::RiskType riskType() const

Member Function Documentation

◆ riskClass()

Definition at line 89 of file marketriskreport.hpp.

89{ return riskClass_; };

◆ riskType()

Definition at line 90 of file marketriskreport.hpp.

90{ return riskType_; };

◆ to_string()

string to_string ( )
overridevirtual

Implements MarketRiskGroupBase.

Definition at line 46 of file marketriskreport.cpp.

46 {
48}
std::string to_string(const LocationInfo &l)
+ Here is the call graph for this function:

◆ allLevel()

bool allLevel ( ) const
overridevirtual

Implements MarketRiskGroupBase.

Definition at line 50 of file marketriskreport.cpp.

50 {
51 return riskClass_ == MarketRiskConfiguration::RiskClass::All && riskType_ == MarketRiskConfiguration::RiskType::All;
52}

Member Data Documentation

◆ riskClass_

Definition at line 96 of file marketriskreport.hpp.

◆ riskType_

Definition at line 97 of file marketriskreport.hpp.