aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen-companion/MetadataBase.hpp
blob: 8be668db62b06e63f6d3e4fb8b00249c2d0001ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <optional>
#include <string_view>

namespace Metadata {

template <class TEnum>
std::string_view EnumToString(TEnum value);

template <class TEnum>
std::optional<TEnum> EnumFromString(std::string_view str);

} // namespace Metadata