32 fStringProperty.SetOwner(
kTRUE);
74 Error(
"GetPropertyAsString"
75 ,
"Could not find property with String value for this key: %s", key);
ClassImp(TDictAttributeMap) TDictAttributeMap
Default constructor.
Bool_t RemoveProperty(const char *key)
void Clear(Option_t *option="")
Deletes all the properties of the class.
TString RemovePropertyString(const char *key)
Remove a String property from the attribute map specified by the key.
The TNamed class is the base class for all named ROOT classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Bool_t HasKey(const char *key) const
void AddProperty(const char *key, const char *value)
Add a property with a String value to the TDictAttributeMap.
const char * GetPropertyAsString(const char *key) const
Access the value of a String property using the key.
The ROOT object has a list of properties which are stored and retrieved using TDictAttributeMap.
THashTable fStringProperty
void Add(TObject *obj)
Add object to the hash table.
Mother of all ROOT objects.
void Delete(Option_t *option="")
Remove all objects from the table AND delete all heap based objects.
virtual ~TDictAttributeMap()
Default destructor.
TObject * FindObject(const char *name) const
Find object using its name.
virtual const char * GetTitle() const
Returns title of object.
TObject * Remove(TObject *obj)
Remove object from the hashtable.