47 _propList.setHashTableSize(1000);
95 std::map<std::string, RooSharedProperties *>::iterator it;
97 it = _newPropList.find( std::string(prop->
asString()) );
98 if (it != _newPropList.end() ) {
102 if (canDeleteIncoming)
delete prop;
109 _newPropList[ std::string(prop->
asString()) ] = prop;
125 _propList.Remove(prop) ;
127 std::map<std::string, RooSharedProperties *>::iterator it;
128 it = _newPropList.find( std::string(prop->
asString()) );
129 if (it != _newPropList.end() ) _newPropList.erase(it);
ClassImp(RooSharedPropertiesList)
std::map< std::string, std::string >::const_iterator iter
RooSharedProperties * registerProperties(RooSharedProperties *, Bool_t canDeleteIncoming=kTRUE)
Register property into list and take ownership.
RooSharedPropertiesList()
Constructor.
void unregisterProperties(RooSharedProperties *)
Decrease reference count of property.
virtual ~RooSharedPropertiesList()
Destructor.
Bool_t inSharedList() const
Mother of all ROOT objects.