1 #pragma once 2 #include <nlohmann/json.hpp> 3 4 namespace facility 5 { 6 // clang-format off 7 8 enum class FacilityType{ 9 Invalid, 10 Room, 11 Floor, 12 Building, 13 Site, 14 }; 15 16 NLOHMANN_JSON_SERIALIZE_ENUM(FacilityType, { 17 {FacilityType::Invalid, "Invalid"}, 18 {FacilityType::Room, "Room"}, 19 {FacilityType::Floor, "Floor"}, 20 {FacilityType::Building, "Building"}, 21 {FacilityType::Site, "Site"}, 22 }); 23 24 } 25 // clang-format on 26