1 #ifndef FWCore_ParameterSet_Registry_h 2 #define FWCore_ParameterSet_Registry_h 17 #include "tbb/concurrent_unordered_map.h" 43 value_type
const*
getMapped(key_type
const&
k)
const;
52 bool insertMapped(value_type
const&
v,
bool forceUpdate =
false);
60 typedef tbb::concurrent_unordered_map<key_type, value_type, key_hash>
map_type;
65 const_iterator
end()
const {
return m_map.end(); }
73 typedef std::map<ParameterSetID, ParameterSetBlob>
regmap_type;
74 void fillMap(regmap_type& fillme)
const;
76 void print(std::ostream& os)
const;
map_type::const_iterator const_iterator
const_iterator end() const
std::map< ParameterSetID, ParameterSetBlob > regmap_type
std::size_t operator()(key_type const &iKey) const
edm::ParameterSet value_type
void clear()
Not thread safe.
const_iterator begin() const
bool getMapped(key_type const &k, value_type &result) const
bool insertMapped(value_type const &v, bool forceUpdate=false)
edm::ParameterSetID key_type
size_t smallHash() const
returns a short hash which can be used with hashing containers
tbb::concurrent_unordered_map< key_type, value_type, key_hash > map_type
void print(std::ostream &os) const
void fillMap(regmap_type &fillme) const
static Registry * instance()