15 _map.insert(make_pair(iter->first, iter->second->clone()));
23 _map.insert(make_pair(iter->first, iter->second->clone()));
33 for (
Iter iter = _map.begin(); iter != _map.end(); ++iter) {
40 os <<
"SQStringMap_v1: size = " << _map.size() << endl;
46 if (iter == _map.end())
return NULL;
51 Iter iter = _map.find(key);
52 if (iter == _map.end())
return NULL;
57 _map.insert(make_pair(key, item->
clone() ));
ClassImp(SQStringMap_v1) SQStringMap_v1
virtual PHObject * clone() const
Virtual copy constructor.
void identify(std::ostream &os=std::cout) const
const PHObject * get(std::string key) const
SQStringMap_v1 & operator=(const SQStringMap_v1 &map)
virtual ~SQStringMap_v1()
PHObject * insert(std::string key, const PHObject *item)
ObjectMap::const_iterator ConstIter