4 #ifndef RUDIMENTS_DICTIONARY_H
5 #define RUDIMENTS_DICTIONARY_H
7 #include <rudiments/private/dictionaryincludes.h>
11 template <
class keytype,
class valuetype>
50 #include <rudiments/private/dictionarynode.h>
62 template <
class keytype,
class valuetype>
123 void setValues(keytype
const *keys, valuetype
const *values);
132 void setValues(keytype
const *keys, valuetype
const *values,
332 #include <rudiments/private/dictionary.h>
337 #define namevaluepairsnode dictionarynode< char *, char * >
338 #define namevaluepairs dictionary< char *, char * >
339 #define constnamevaluepairsnode dictionarynode< const char *, const char * >
340 #define constnamevaluepairs dictionary< const char *, const char * >
342 #include <rudiments/private/dictionaryinlines.h>
Definition: dictionary.h:63
bool removeAndDeleteKey(dictionarynode< keytype, valuetype > *node)
bool getTrackInsertionOrder()
bool remove(dictionarynode< keytype, valuetype > *node)
bool removeAndArrayDeleteKey(dictionarynode< keytype, valuetype > *node)
bool setTrackInsertionOrder(bool trackinsertionorder)
bool removeAndDelete(keytype key)
bool removeAndArrayDeleteKeyAndDeleteValue(dictionarynode< keytype, valuetype > *node)
bool removeAndDelete(dictionarynode< keytype, valuetype > *node)
dictionary(bool trackinsertionorder)
bool getValue(keytype key, valuetype *value)
void clearAndArrayDeleteKeysAndDeleteValues()
void clearAndArrayDelete()
bool removeAndArrayDeleteKey(keytype key)
valuetype getValue(keytype key)
bool removeAndArrayDeleteKeyAndDeleteValue(keytype key)
bool removeAndArrayDeleteValue(dictionarynode< keytype, valuetype > *node)
void setValues(keytype *keys, valuetype *values, uint64_t count)
bool removeAndDeleteValue(keytype key)
void setValues(dictionary< keytype, valuetype > *dict)
bool removeAndArrayDelete(dictionarynode< keytype, valuetype > *node)
bool removeAndDeleteValue(dictionarynode< keytype, valuetype > *node)
linkedlist< keytype > * getKeys()
bool removeAndDeleteKeyAndArrayDeleteValue(keytype key)
bool removeAndArrayDeleteValue(keytype key)
void clearAndArrayDeleteKeys()
void setValue(keytype key, valuetype value)
dictionarynode< keytype, valuetype > * getNode(keytype key)
linkedlist< dictionarynode< keytype, valuetype > * > * getList()
bool removeAndDeleteKey(keytype key)
void clearAndDeleteValues()
void setValues(keytype *keys, valuetype *values)
void clearAndDeleteKeys()
avltree< dictionarynode< keytype, valuetype > * > * getTree()
void clearAndArrayDeleteValues()
void clearAndDeleteKeysAndArrayDeleteValues()
bool removeAndDeleteKeyAndArrayDeleteValue(dictionarynode< keytype, valuetype > *node)
bool removeAndArrayDelete(keytype key)
Definition: dictionary.h:12
int32_t compare(keytype testkey) const
virtual ~dictionarynode()
valuetype getValue() const
int32_t compare(dictionarynode< keytype, valuetype > *testnode) const
void setValue(valuetype value)
dictionarynode(keytype key, valuetype value)
Definition: linkedlist.h:60