Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
simmconfiguration.cpp File Reference
#include <ored/utilities/to_string.hpp>
#include <orea/simm/simmconfiguration.hpp>
#include <ql/math/comparison.hpp>
#include <ql/math/matrixutilities/symmetricschurdecomposition.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/assign.hpp>
#include <boost/bimap.hpp>
#include <map>

Go to the source code of this file.

Namespaces

namespace  ore
 
namespace  ore::analytics
 

Functions

ostream & operator<< (ostream &out, const SimmConfiguration::SimmSide &s)
 
ostream & operator<< (ostream &out, const SimmConfiguration::RiskClass &rc)
 
ostream & operator<< (ostream &out, const SimmConfiguration::MarginType &mt)
 
ostream & operator<< (ostream &out, const SimmConfiguration::IMModel &model)
 
ostream & operator<< (ostream &out, const SimmConfiguration::Regulation &regulation)
 
SimmConfiguration::SimmSide parseSimmSide (const string &side)
 
SimmConfiguration::RiskClass parseSimmRiskClass (const string &rc)
 
SimmConfiguration::MarginType parseSimmMarginType (const string &mt)
 
SimmConfiguration::IMModel parseIMModel (const string &model)
 
SimmConfiguration::Regulation parseRegulation (const string &regulation)
 
string combineRegulations (const string &regs1, const string &regs2)
 
set< string > parseRegulationString (const std::string &regsString, const std::set< std::string > &valueIfEmpty={"Unspecified"})
 Reads a string containing regulations applicable for a given CRIF record. More...
 
string sortRegulationString (const string &regsString)
 
string removeRegulations (const std::string &regsString, const std::vector< std::string > &regsToRemove)
 Removes a given vector of regulations from a string of regulations and returns a string with the regulations removed. More...
 
string filterRegulations (const string &regsString, const vector< string > &regsToFilter)
 
SimmConfiguration::Regulation getWinningRegulation (const std::vector< std::string > &winningRegulations)
 From a vector of regulations, determine the winning regulation based on order of priority. More...
 

Variables

const bm< SimmConfiguration::MarginType > marginTypeMap
 
const bm< SimmConfiguration::IMModel > imModelMap
 
const bm< SimmConfiguration::Regulation > regulationsMap