20#ifndef ORES_VARIABILITY_REPOSITORY_FEATURE_FLAGS_MAPPER_HPP
21#define ORES_VARIABILITY_REPOSITORY_FEATURE_FLAGS_MAPPER_HPP
24#include "ores.utility/log/make_logger.hpp"
25#include "ores.variability/domain/feature_flags.hpp"
26#include "ores.variability/repository/feature_flags_entity.hpp"
28namespace ores::variability::repository {
35 inline static std::string_view logger_name =
36 "ores.variability.repository.feature_flags_mapper";
40 static auto instance = make_logger(logger_name);
48 static std::vector<domain::feature_flags>
49 map(
const std::vector<feature_flags_entity>& v);
50 static std::vector<feature_flags_entity>
51 map(
const std::vector<domain::feature_flags>& v);
Implements logging for ORE Studio.
Definition lifecycle_manager.hpp:30
Represents a feature flag in the domain layer.
Definition feature_flags.hpp:30
Represents a feature flag in the database.
Definition feature_flags_entity.hpp:32
Maps feature flags domain model entities to data storage layer and vice-versa.
Definition feature_flags_mapper.hpp:33