Object-oriented wrapper for maps.
Name | Description |
---|---|
Clear | Clears all entries from a Map. |
Clone | Clones a string map, returning a new handle with the same size and data. This should NOT be confused with CloneHandle. This is a completely new handle with the same data but no relation to the original. It should be closed when no longer needed with delete or CloseHandle(). |
ContainsKey | Checks whether a key is present in a Map. |
GetArray | Retrieves an array in a Map. |
GetString | Retrieves a string in a Map. |
GetValue | Retrieves a value in a Map. |
Remove | Removes a key entry from a Map. |
SetArray | Sets an array value in a Map, either inserting a new entry or replacing an old one. |
SetString | Sets a string value in a Map, either inserting a new entry or replacing an old one. |
SetValue | Sets a value in a hash map, either inserting a new entry or replacing an old one. |
Snapshot | Create a snapshot of the map's keys. See StringMapSnapshot. |
StringMap | Creates a hash map. A hash map is a container that can map strings (called "keys") to arbitrary values (cells, arrays, or strings). Keys in a hash map are unique. That is, there is at most one entry in the map for a given key. |
Name | Type | Description |
---|---|---|
Size | int | Retrieves the number of elements in a map. |
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.