1 #ifndef DataFormats_Provenance_ParentageRegistry_h 2 #define DataFormats_Provenance_ParentageRegistry_h 4 #include "tbb/concurrent_unordered_map.h" 31 value_type
const*
getMapped(key_type
const&
k)
const;
52 tbb::concurrent_unordered_map<key_type,value_type,key_hash>
m_map;
void clear()
Not thread safe.
edm::Parentage value_type
edm::ParentageID key_type
bool getMapped(key_type const &k, value_type &result) const
std::size_t operator()(key_type const &iKey) const
tbb::concurrent_unordered_map< key_type, value_type, key_hash > m_map
size_t smallHash() const
returns a short hash which can be used with hashing containers
static ParentageRegistry * instance()
bool insertMapped(value_type const &v)