|
Daraja HTTP Framework 3.0.7-SNAPSHOT
HTTP server framework for Object Pascal
|
A generic multi-map implementation that maps strings to lists of objects. More...
Public Member Functions | |
| ~TdjMultiMap () | |
| Destructor for the class. | |
| Add (const string Key, T Value) | |
| Adds a value to the collection associated with the specified key. | |
| <> TObjectList | T (const string Key) |
| Retrieves the list of values associated with the specified key. | |
A generic multi-map implementation that maps strings to lists of objects.
This class extends TObjectDictionary, where the key is a string and the value is a TObjectList of type T. It provides functionality to manage a collection of objects grouped by string keys.
| T | The type of objects stored in the multi-map. Must be a class type. |
| TdjMultiMap::~TdjMultiMap | ( | ) |
Destructor for the class.
Cleans up any resources used by the instance.
| TdjMultiMap::Add | ( | const string | Key, |
| T | Value ) |
Adds a value to the collection associated with the specified key.
| Key | The key to which the value will be associated. |
| Value | The value to be added to the collection. |
| <> TObjectList TdjMultiMap::T | ( | const string | Key | ) |
Retrieves the list of values associated with the specified key.
| Key | The key whose associated values are to be retrieved. |