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

Utility class for Structured Fixing warnings. More...

#include <orea/app/marketdataloader.hpp>

+ Inheritance diagram for StructuredFixingWarningMessage:
+ Collaboration diagram for StructuredFixingWarningMessage:

Public Member Functions

 StructuredFixingWarningMessage (const std::string &fixingId, const QuantLib::Date &fixingDate, const std::string &exceptionType, const std::string &exceptionWhat)
 
- Public Member Functions inherited from StructuredMessage
 StructuredMessage (const Category &category, const Group &group, const std::string &message, const std::map< std::string, std::string > &subFields=std::map< std::string, std::string >())
 
 StructuredMessage (const Category &category, const Group &group, const std::string &message, const std::pair< std::string, std::string > &subField=std::pair< std::string, std::string >())
 
virtual ~StructuredMessage ()
 
std::string msg () const
 
void emitLog () const
 
- Public Member Functions inherited from JSONMessage
virtual ~JSONMessage ()
 
virtual std::string msg () const=0
 
void log () const
 
const std::string json () const
 
void set (const std::string &key, const boost::any &value)
 

Additional Inherited Members

- Public Types inherited from StructuredMessage
enum  Category
 
enum  Group
 
- Static Public Attributes inherited from StructuredMessage
static constexpr const char * name
 
- Protected Member Functions inherited from StructuredMessage
void addSubFields (const std::map< std::string, std::string > &)
 
virtual void emitLog () const=0
 
- Static Protected Member Functions inherited from JSONMessage
static std::string jsonify (const boost::any &)
 
- Protected Attributes inherited from JSONMessage
std::map< std::string, boost::any > data_
 

Detailed Description

Utility class for Structured Fixing warnings.

Definition at line 36 of file marketdataloader.hpp.

Constructor & Destructor Documentation

◆ StructuredFixingWarningMessage()

StructuredFixingWarningMessage ( const std::string &  fixingId,
const QuantLib::Date &  fixingDate,
const std::string &  exceptionType,
const std::string &  exceptionWhat 
)

Definition at line 38 of file marketdataloader.hpp.

40 : StructuredMessage(Category::Warning, Group::Fixing, exceptionWhat,
41 std::map<std::string, std::string>({{"exceptionType", exceptionType},
42 {"fixingId", fixingId},
43 {"fixingDate", ore::data::to_string(fixingDate)}})) {}
StructuredMessage(const Category &category, const Group &group, const std::string &message, const std::map< std::string, std::string > &subFields=std::map< std::string, std::string >())
std::string to_string(const LocationInfo &l)
+ Here is the call graph for this function: