RAD Studio VCL Reference
|
Collection of key-value pairs of objects.
TObjectDictionary<TKey,TValue> = class(TDictionary<TKey,TValue>);
template <TKey,TValue> class TObjectDictionary : public TDictionary<TKey,TValue>;
TObjectDictionary represents a generic collection of key-value pairs of objects.
TObjectDictionary is a TDictionary with the capability of automatically freeing objects when they are removed from the dictionary. When a TObjectDictionary is instantiated, an Ownerships parameter specifies whether the dictionary owns the keys and/or values. If the key and/or value is owned by the dictionary, when the entry is removed the key and/or value object is freed.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|