Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
simmconfiguration.hpp File Reference

SIMM configuration interface. More...

#include <set>
#include <string>
#include <vector>
#include <boost/optional.hpp>
#include <orea/simm/crifconfiguration.hpp>
#include <orea/simm/crifrecord.hpp>
#include <ql/indexes/interestrateindex.hpp>
#include <ql/types.hpp>

Go to the source code of this file.

Classes

class  SimmConfiguration
 Abstract base class defining the interface for a SIMM configuration. More...
 

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...
 

Detailed Description

SIMM configuration interface.

Definition in file simmconfiguration.hpp.