13 [[cms::thread_safe]]
static Registry s_reg;
19 auto it =
m_map.find(k);
29 auto it =
m_map.find(k);
31 return found? &(it->second) : static_cast<value_type const*>(
nullptr);
36 return m_map.insert(std::make_pair(v.
id(),
v)).second;
48 for (
auto const& item :
m_map) {
49 fillme[item.first].pset() = item.second.toString();
55 os <<
"Registry with " <<
size() <<
" entries\n";
56 for(
auto const& item : *
this) {
57 os << item.first <<
" " << item.second <<
'\n';
ParameterSetID id() const
std::map< ParameterSetID, ParameterSetBlob > regmap_type
void clear()
Not thread safe.
bool getMapped(key_type const &k, value_type &result) const
void print(std::ostream &os) const
bool insertMapped(value_type const &v)
void fillMap(regmap_type &fillme) const
static Registry * instance()