Object-oriented wrapper for maps.
A StringMapSnapshot is created via StringMap.Snapshot(). It captures the keys on a map so they can be read. Snapshots must be freed with delete or CloseHandle().
Clears all entries from a Map.
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.
Creates a snapshot of all keys in the map. If the map is changed after this call, the changes are not reflected in the snapshot. Keys are not sorted.
Retrieves an array in a Map.
Retrieves the number of elements in a map.
Retrieves the key string of a given key in a map snapshot.
Retrieves a string in a Map.
Retrieves a value in a Map.
Removes a key entry from a Map.
Sets an array value in a Map, either inserting a new entry or replacing an old one.
Sets a string value in a Map, either inserting a new entry or replacing an old one.
Sets a value in a hash map, either inserting a new entry or replacing an old one.
Returns the buffer size required to store a given key. That is, it returns the length of the key plus one.
Returns the number of keys in a map snapshot. Note that this may be different from the size of the map, since the map can change after the snapshot of its keys was taken.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.