20#ifndef ORES_REFDATA_REPOSITORY_DEPOSIT_CONVENTION_MAPPER_HPP
21#define ORES_REFDATA_REPOSITORY_DEPOSIT_CONVENTION_MAPPER_HPP
23#include "ores.refdata.api/domain/deposit_convention.hpp"
24#include "ores.refdata.core/repository/deposit_convention_entity.hpp"
25#include "ores.logging/make_logger.hpp"
34 inline static std::string_view logger_name =
35 "ores.refdata.repository.deposit_convention_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::deposit_convention>
47 map(
const std::vector<deposit_convention_entity>& v);
48 static std::vector<deposit_convention_entity>
49 map(
const std::vector<domain::deposit_convention>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Database persistence layer for risk domain types.
Definition asset_class_repository.hpp:29
Conventions for a money-market deposit or IBOR index fixing.
Definition deposit_convention.hpp:39
Represents a deposit convention in the database.
Definition deposit_convention_entity.hpp:34
Maps deposit_convention domain entities to data storage layer and vice-versa.
Definition deposit_convention_mapper.hpp:32