TMap

A container for key/value pairs where a value can be accessed through its associated key.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TMap

Source

Collection.Map.pas (44)

Description

The lifetime of key is managed by KeyManager and the lifetime of a value is managed by ValueManager.

Fields

ScopeVisibilityTypeNameDescription
InstanceprivateTReferenceManager<TValue>FValueManager
InstanceprivateTReferenceManager<TKey>FKeyManager
InstanceprivateTComparator<TKey>FKeyComparator
InstancepublicTValueUnassigned

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetKeyManager(Value: TReferenceManager<TKey>)
InstanceprivateSetValueManager(Value: TReferenceManager<TValue>)
InstanceprivateSetKeyComparator(Value: TComparator<TKey>)
InstanceprotectedTInteger32GetCount()
InstanceprotectedTValueGetValues(Key: TKey)
InstanceprotectedSetValues(Key: TKey; Value: TValue)
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicClear()
InstancepublicTValueExtract(Key: TKey)
InstancepublicRemove(Key: TKey)
InstancepublicTIterator<TMapEntry<TKey,TValue>>CreateIterator()
InstancepublicTEnumerator<TMapEntry<TKey,TValue>>GetEnumerator()