20#ifndef ORES_REFDATA_CORE_REPOSITORY_PARTY_COUNTERPARTY_MAPPER_HPP
21#define ORES_REFDATA_CORE_REPOSITORY_PARTY_COUNTERPARTY_MAPPER_HPP
23#include "ores.refdata.api/domain/party_counterparty.hpp"
24#include "ores.refdata.core/repository/party_counterparty_entity.hpp"
25#include "ores.logging/make_logger.hpp"
29class party_counterparty_mapper {
31 inline static std::string_view logger_name =
32 "ores.refdata.repository.party_counterparty_mapper";
34 [[nodiscard]]
static auto& lg() {
36 static auto instance = make_logger(logger_name);
40 static domain::party_counterparty map(
const party_counterparty_entity& v);
41 static party_counterparty_entity map(
const domain::party_counterparty& v);
43 static std::vector<domain::party_counterparty>
44 map(
const std::vector<party_counterparty_entity>& v);
45 static std::vector<party_counterparty_entity>
46 map(
const std::vector<domain::party_counterparty>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Database persistence layer for risk domain types.
Definition book_entity.hpp:28