// NOLINTBEGIN | |
#pragma once | |
#include <cstdint> | |
#include <nlohmann/json.hpp> | |
namespace facility | |
{ | |
// clang-format off | |
enum class FacilityType : std::uint8_t{ | |
Invalid, | |
Room, | |
Floor, | |
Building, | |
Site, | |
}; | |
NLOHMANN_JSON_SERIALIZE_ENUM(FacilityType, { | |
{FacilityType::Invalid, "Invalid"}, | |
{FacilityType::Room, "Room"}, | |
{FacilityType::Floor, "Floor"}, | |
{FacilityType::Building, "Building"}, | |
{FacilityType::Site, "Site"}, | |
}); | |
} // namespace facility | |
// clang-format on | |
// NOLINTEND |