35 std::vector<IdentifierHash>
ids;
38 ids.emplace_back(
x.first);
52 return m_map.cbegin();
57 if(itr!=
m_map.cend() && itr->first==hashId)
return itr;
67 for(
const auto&
x : m_map) deleter(
x.second);
72 if(
m_map.empty() ||
m_map.back().first < hashId){
86 auto itr = indexFind(hashId);
87 if(itr != m_map.end())
return itr->second;
94 throw std::runtime_error(
"IDC WARNING Deletion shouldn't occur in addLock paradigm");
96 return StatusCode::SUCCESS;
101 if(itr==
m_map.end() || itr->first!=hashId)
return nullptr;
102 void*
ptr =
const_cast< void*
> (itr->second);
108 throw std::runtime_error(
"Not implemented in offline mode");
112 throw std::runtime_error(
"Not implemented in offline mode");
116 for(
const auto&
x : m_map) deleter(
x.second);