@@ -133,9 +133,9 @@ class ConfirmedCasesDataEntry
133133 ScalarType num_deaths;
134134 Date date;
135135 AgeGroup age_group;
136- boost::optional<regions::de:: StateId> state_id;
137- boost::optional<regions::de:: CountyId> county_id;
138- boost::optional<regions::de:: DistrictId> district_id;
136+ boost::optional<regions::StateId> state_id;
137+ boost::optional<regions::CountyId> county_id;
138+ boost::optional<regions::DistrictId> district_id;
139139
140140 template <class IOContext >
141141 static IOResult<ConfirmedCasesDataEntry> deserialize (IOContext& io)
@@ -146,9 +146,9 @@ class ConfirmedCasesDataEntry
146146 auto num_deaths = obj.expect_element (" Deaths" , Tag<ScalarType>{});
147147 auto date = obj.expect_element (" Date" , Tag<StringDate>{});
148148 auto age_group_str = obj.expect_element (" Age_RKI" , Tag<std::string>{});
149- auto state_id = obj.expect_optional (" ID_State" , Tag<regions::de:: StateId>{});
150- auto county_id = obj.expect_optional (" ID_County" , Tag<regions::de:: CountyId>{});
151- auto district_id = obj.expect_optional (" ID_District" , Tag<regions::de:: DistrictId>{});
149+ auto state_id = obj.expect_optional (" ID_State" , Tag<regions::StateId>{});
150+ auto county_id = obj.expect_optional (" ID_County" , Tag<regions::CountyId>{});
151+ auto district_id = obj.expect_optional (" ID_District" , Tag<regions::DistrictId>{});
152152 return apply (
153153 io,
154154 [](auto && nc, auto && nr, auto && nd, auto && d, auto && a_str, auto && sid, auto && cid,
@@ -208,19 +208,19 @@ class DiviEntry
208208public:
209209 ScalarType num_icu;
210210 Date date;
211- boost::optional<regions::de:: StateId> state_id;
212- boost::optional<regions::de:: CountyId> county_id;
213- boost::optional<regions::de:: DistrictId> district_id;
211+ boost::optional<regions::StateId> state_id;
212+ boost::optional<regions::CountyId> county_id;
213+ boost::optional<regions::DistrictId> district_id;
214214
215215 template <class IoContext >
216216 static IOResult<DiviEntry> deserialize (IoContext& io)
217217 {
218218 auto obj = io.expect_object (" DiviEntry" );
219219 auto num_icu = obj.expect_element (" ICU" , Tag<ScalarType>{});
220220 auto date = obj.expect_element (" Date" , Tag<StringDate>{});
221- auto state_id = obj.expect_optional (" ID_State" , Tag<regions::de:: StateId>{});
222- auto county_id = obj.expect_optional (" ID_County" , Tag<regions::de:: CountyId>{});
223- auto district_id = obj.expect_optional (" ID_District" , Tag<regions::de:: DistrictId>{});
221+ auto state_id = obj.expect_optional (" ID_State" , Tag<regions::StateId>{});
222+ auto county_id = obj.expect_optional (" ID_County" , Tag<regions::CountyId>{});
223+ auto district_id = obj.expect_optional (" ID_District" , Tag<regions::DistrictId>{});
224224 return apply (
225225 io,
226226 [](auto && ni, auto && d, auto && sid, auto && cid, auto && did) {
@@ -304,17 +304,17 @@ class PopulationDataEntry
304304 static std::vector<const char *> age_group_names;
305305
306306 CustomIndexArray<ScalarType, AgeGroup> population;
307- boost::optional<regions::de:: StateId> state_id;
308- boost::optional<regions::de:: CountyId> county_id;
309- boost::optional<regions::de:: DistrictId> district_id;
307+ boost::optional<regions::StateId> state_id;
308+ boost::optional<regions::CountyId> county_id;
309+ boost::optional<regions::DistrictId> district_id;
310310
311311 template <class IoContext >
312312 static IOResult<PopulationDataEntry> deserialize (IoContext& io)
313313 {
314314 auto obj = io.expect_object (" PopulationDataEntry" );
315- auto state_id = obj.expect_optional (" ID_State" , Tag<regions::de:: StateId>{});
316- auto county_id = obj.expect_optional (" ID_County" , Tag<regions::de:: CountyId>{});
317- auto district_id = obj.expect_optional (" ID_District" , Tag<regions::de:: DistrictId>{});
315+ auto state_id = obj.expect_optional (" ID_State" , Tag<regions::StateId>{});
316+ auto county_id = obj.expect_optional (" ID_County" , Tag<regions::CountyId>{});
317+ auto district_id = obj.expect_optional (" ID_District" , Tag<regions::DistrictId>{});
318318 std::vector<IOResult<ScalarType>> age_groups;
319319 age_groups.reserve (age_group_names.size ());
320320 std::transform (age_group_names.begin (), age_group_names.end (), std::back_inserter (age_groups),
@@ -487,9 +487,9 @@ class VaccinationDataEntry
487487 num_vaccinations_refreshed_additional;
488488 Date date;
489489 AgeGroup age_group;
490- boost::optional<regions::de:: StateId> state_id;
491- boost::optional<regions::de:: CountyId> county_id;
492- boost::optional<regions::de:: DistrictId> district_id;
490+ boost::optional<regions::StateId> state_id;
491+ boost::optional<regions::CountyId> county_id;
492+ boost::optional<regions::DistrictId> district_id;
493493
494494 template <class IoContext >
495495 static IOResult<VaccinationDataEntry> deserialize (IoContext& io)
@@ -501,9 +501,9 @@ class VaccinationDataEntry
501501 auto num_vaccinations_refreshed_additional = obj.expect_optional (" Vacc_refreshed_2" , Tag<ScalarType>{});
502502 auto date = obj.expect_element (" Date" , Tag<StringDate>{});
503503 auto age_group_str = obj.expect_element (" Age_RKI" , Tag<std::string>{});
504- auto state_id = obj.expect_optional (" ID_County" , Tag<regions::de:: StateId>{});
505- auto county_id = obj.expect_optional (" ID_County" , Tag<regions::de:: CountyId>{});
506- auto district_id = obj.expect_optional (" ID_District" , Tag<regions::de:: DistrictId>{});
504+ auto state_id = obj.expect_optional (" ID_County" , Tag<regions::StateId>{});
505+ auto county_id = obj.expect_optional (" ID_County" , Tag<regions::CountyId>{});
506+ auto district_id = obj.expect_optional (" ID_District" , Tag<regions::DistrictId>{});
507507 return mio::apply (
508508 io,
509509 [](auto np, auto nc, auto n_refreshed_1, auto n_refreshed_2, auto d, auto && a_str, auto sid, auto cid,
0 commit comments