24 std::set<eventsetup::EventSetupRecordKey> records;
25 for (
auto const&
p : proxies_) {
26 records.insert(
p.recordKey_);
28 for (
auto const&
k : records) {
29 usingRecordWithKey(
k);
30 findingRecordWithKey(
k);
62 for (
auto const&
p : proxies_) {
63 if (
p.recordKey_ == iRecordKey) {
64 keyedProxiesVector.emplace_back(
p.dataKey_,
p.proxy_);
67 return keyedProxiesVector;
71 return proxies_[iIndex].proxy_;
75 for (
auto const&
p : proxies_) {
76 p.proxy_->invalidate();
void setIntervalFor(const eventsetup::EventSetupRecordKey &, const IOVSyncValue &, ValidityInterval &) final
static const IOVSyncValue & endOfTime()
std::pair< Time_t, Time_t > ValidityInterval
static const IOVSyncValue & beginOfTime()
KeyedProxiesVector registerProxies(const eventsetup::EventSetupRecordKey &, unsigned int iovIndex) final
EventSetupTestHelper(std::vector< ESProduceEntry >)
std::shared_ptr< eventsetup::DataProxy > getProxy(unsigned int index)
std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> KeyedProxiesVector