| #pragma once | |
| #include <cstdint> | |
| #include <nlohmann/json.hpp> | |
| namespace reservoir | |
| { | |
| // clang-format off | |
| enum class ReservoirType : std::uint8_t{ | |
| Invalid, | |
| Reserve, | |
| Overflow, | |
| Inline, | |
| Immersion, | |
| }; | |
| NLOHMANN_JSON_SERIALIZE_ENUM(ReservoirType, { | |
| {ReservoirType::Invalid, "Invalid"}, | |
| {ReservoirType::Reserve, "Reserve"}, | |
| {ReservoirType::Overflow, "Overflow"}, | |
| {ReservoirType::Inline, "Inline"}, | |
| {ReservoirType::Immersion, "Immersion"}, | |
| }); | |
| } // namespace reservoir | |
| // clang-format on |