4 #ifndef RUDIMENTS_DICTIONARY_H 5 #define RUDIMENTS_DICTIONARY_H 7 #include <rudiments/private/dictionaryincludes.h> 11 template <
class keytype,
class valuetype>
38 int32_t
compare(keytype testkey)
const;
50 #include <rudiments/private/dictionarynode.h> 62 template <
class keytype,
class valuetype>
115 void setValue(keytype key, valuetype value);
122 void setValues(keytype *keys, valuetype *values);
123 void setValues(keytype
const *keys, valuetype
const *values);
130 void setValues(keytype *keys, valuetype *values,
132 void setValues(keytype
const *keys, valuetype
const *values,
144 bool getValue(keytype key, valuetype *value);
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>
linkedlist< keytype > * getKeys()
valuetype getValue() const
void clearAndDeleteKeysAndArrayDeleteValues()
void clearAndDeleteKeys()
void setValues(keytype *keys, valuetype *values)
void setValue(valuetype value)
Definition: linkedlist.h:60
Definition: dictionary.h:12
bool getValue(keytype key, valuetype *value)
void clearAndArrayDelete()
virtual ~dictionarynode()
bool removeAndDeleteKeyAndArrayDeleteValue(keytype key)
bool removeAndArrayDeleteKey(keytype key)
Definition: dictionary.h:63
linkedlist< dictionarynode< keytype, valuetype > * > * getList()
int32_t compare(keytype testkey) const
void clearAndArrayDeleteKeys()
bool removeAndArrayDelete(keytype key)
void setValue(keytype key, valuetype value)
avltree< dictionarynode< keytype, valuetype > * > * getTree()
bool setTrackInsertionOrder(bool trackinsertionorder)
bool getTrackInsertionOrder()
bool removeAndArrayDeleteValue(keytype key)
bool removeAndDelete(keytype key)
bool removeAndDeleteValue(keytype key)
dictionarynode(keytype key, valuetype value)
void clearAndDeleteValues()
bool removeAndArrayDeleteKeyAndDeleteValue(keytype key)
dictionarynode< keytype, valuetype > * getNode(keytype key)
void clearAndArrayDeleteKeysAndDeleteValues()
bool removeAndDeleteKey(keytype key)
void clearAndArrayDeleteValues()