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);
62 typedef tbb::concurrent_unordered_map<key_type,value_type,key_hash>
map_type;
69 const_iterator
end()
const {
83 typedef std::map<ParameterSetID, ParameterSetBlob>
regmap_type;
84 void fillMap(regmap_type& fillme)
const;
86 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)
tbb::concurrent_unordered_map< key_type, value_type, key_hash > map_type
edm::ParameterSetID key_type
size_t smallHash() const
returns a short hash which can be used with hashing containers
void print(std::ostream &os) const
void fillMap(regmap_type &fillme) const
static Registry * instance()