9 for (
const auto&
s : e)
19 for (
const auto&
s : e)
26 c->addProviderSegment(
s);
34 for (
const auto&
s : e)
42 if (!
c->hasProviderSegment(
s.id().providerSegmentName))
44 c->addProviderSegment(
s.id().providerSegmentName);
46 auto* p =
c->findProviderSegment(
s.id().providerSegmentName);
56 for (
const auto&
s : e)
64 if (!
c->hasProviderSegment(
s.id().providerSegmentName))
66 c->addProviderSegment(
s.id().providerSegmentName);
68 auto* p =
c->findProviderSegment(
s.id().providerSegmentName);
70 if (!p->hasEntity(
s.id().entityName))
72 p->addEntity(
s.id().entityName);
74 auto* en = p->findEntity(
s.id().entityName);
83 for (
const auto&
s : e)
91 if (!
c->hasProviderSegment(
s.id().providerSegmentName))
93 c->addProviderSegment(
s.id().providerSegmentName);
95 auto* p =
c->findProviderSegment(
s.id().providerSegmentName);
97 if (!p->hasEntity(
s.id().entityName))
99 p->addEntity(
s.id().entityName);
101 auto* en = p->findEntity(
s.id().entityName);
103 if (!en->hasSnapshot(
s.id().timestamp))
105 en->addSnapshot(
s.id().timestamp);
107 auto* sn = p->findSnapshot(
s.id());
118 for (
const auto&
s : e)
121 auto coreSegmentName =
s.id().coreSegmentName;
132 auto providerSegmentName =
s.id().providerSegmentName;
133 auto* providerStructure = coreStructure->findProviderSegment(providerSegmentName);
135 if (!
c->hasProviderSegment(providerSegmentName))
137 c->addProviderSegment(providerSegmentName, providerStructure->aronType());
139 auto* p =
c->findProviderSegment(providerSegmentName);
141 if (!p->hasEntity(
s.id().entityName))
143 p->addEntity(
s.id().entityName);
145 auto* en = p->findEntity(
s.id().entityName);