26#include <boost/algorithm/string.hpp>
37 const std::string& warningWhat)
40 std::map<std::string, std::string>(
41 {{
"warningType", warningType}, {
"tradeId", trade->id()}, {
"tradeType", trade->tradeType()}})) {}
44 const std::string& warningType,
const std::string& warningWhat)
46 std::map<std::string, std::string>(
47 {{
"warningType", warningType}, {
"tradeId", tradeId}, {
"tradeType", tradeType}})) {}
Utility classes for Structured warnings, contains the Trade ID and Type.
StructuredTradeWarningMessage(const QuantLib::ext::shared_ptr< ore::data::Trade > &trade, const std::string &warningType, const std::string &warningWhat)
StructuredTradeWarningMessage(const std::string &tradeId, const std::string &tradeType, const std::string &warningType, const std::string &warningWhat)
Classes and functions for log message handling.
Serializable Credit Default Swap.
base trade data model and serialization