#include <public/IADTFactory.h>
Public Member Functions | |
| virtual bool | Insert (const char *key, void *value)=0 |
| Inserts a key/value pair. | |
| virtual bool | Retrieve (const char *key, void **value)=0 |
| Retrieves the value of a key. | |
| virtual bool | Delete (const char *key)=0 |
| Deletes a key. | |
| virtual void | Clear ()=0 |
| Flushes the entire trie of all keys. | |
| virtual void | Destroy ()=0 |
| Destroys the IBasicTrie object and frees all associated memory. | |
| virtual bool | Replace (const char *key, void *value)=0 |
| Inserts a key/value pair, replacing an old inserted value if it already exists. | |
Definition at line 50 of file IADTFactory.h.
| virtual bool SourceMod::IBasicTrie::Insert | ( | const char * | key, | |
| void * | value | |||
| ) | [pure virtual] |
Inserts a key/value pair.
| key | Key string (null terminated). | |
| value | Value pointer (may be anything). |
| virtual bool SourceMod::IBasicTrie::Retrieve | ( | const char * | key, | |
| void ** | value | |||
| ) | [pure virtual] |
Retrieves the value of a key.
| key | Key string (null terminated). | |
| value | Optional pointer to store value pointer. |
| virtual bool SourceMod::IBasicTrie::Delete | ( | const char * | key | ) | [pure virtual] |
Deletes a key.
| key | Key string (null terminated). |
| virtual bool SourceMod::IBasicTrie::Replace | ( | const char * | key, | |
| void * | value | |||
| ) | [pure virtual] |
Inserts a key/value pair, replacing an old inserted value if it already exists.
| key | Key string (null terminated). | |
| value | Value pointer (may be anything). |
1.5.1