Functions
celltrie.inc
| Function | Type | Description |
|---|---|---|
| TrieClear | native | Clears all entries from a Map. |
| TrieCreate | native | Creates a hash map. A hash map is a container that maps strings (called keys) to arbitrary values (cells, arrays or strings). |
| TrieDeleteKey | native | Removes an entry from a hash map. |
| TrieDestroy | native | Destroys a hash map and frees its memory. |
| TrieGetArray | native | Retrieves a string from a hash map. |
| TrieGetCell | native | Retrieves a cell value from a hash map. |
| TrieGetSize | native | Returns the number of entries in a hash map. |
| TrieGetString | native | Retrieves a string from a hash map. |
| TrieIterCreate | native | Creates an iterator for a map. It provides iterative read-only access to the maps contents. |
| TrieIterDestroy | native | Destroys an iterator handle. |
| TrieIterEnded | native | Returns if the iterator has reached its end and no more data can be read. |
| TrieIterGetArray | native | Retrieves an array at the current position of the iterator. |
| TrieIterGetCell | native | Retrieves a value at the current position of the iterator. |
| TrieIterGetKey | native | Retrieves the key the iterator currently points to. |
| TrieIterGetSize | native | Retrieves the number of elements in the underlying map. |
| TrieIterGetString | native | Retrieves a string at the current position of the iterator. |
| TrieIterNext | native | Advances the iterator to the next key/value pair if one is available. |
| TrieKeyExists | native | Checks a hash map for the existence of an entry. |
| TrieSetArray | native | Sets an array value in a hash map, either inserting a new entry or replacing an old one. |
| TrieSetCell | native | Sets a cell value in a hash map, either inserting a new entry or replacing an old one. |
| TrieSetString | native | Sets a string value in a hash map, either inserting a new entry or replacing an old one. |
| TrieSnapshotCreate | native | Creates a snapshot of all keys in a hash map. If the map is changed afterwards, the changes are not reflected in the snapshot. Keys are not sorted. |
| TrieSnapshotDestroy | native | Destroys a map snapshot and frees its memory. |
| TrieSnapshotGetKey | native | Retrieves the key string of a given key in a map snapshot. |
| TrieSnapshotKeyBufferSize | native | Returns the buffer size required to store a given key. That is, it returns the length of the key plus one. |
| TrieSnapshotLength | native | 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. |