36#include <dime/Basic.h>
39class DIME_DLL_API dimeDictEntry
41 friend class dimeDict;
45 dimeDictEntry(
const char *
const k,
void *v) {key = strdup(k); value = v; };
46 ~dimeDictEntry() {free(key);}
59 bool enter(
const char *
const key,
char *&ptr,
void *value);
60 const char *
enter(
const char *
const key,
void *value);
61 const char *
find(
const char *
const key)
const;
62 bool find(
const char *
const key,
void *&value)
const;
63 bool remove(
const char *
const key);
70 unsigned int bucketNr(
const char *key)
const;
The dimeDictEntry class is internal / private.
Definition Dict.h:40
const char * find(const char *const key) const
Definition Dict.cpp:147
void clear()
Definition Dict.cpp:75
bool enter(const char *const key, char *&ptr, void *value)
Definition Dict.cpp:120
bool remove(const char *const key)
Definition Dict.cpp:179
dimeDict(const int entries=17989)
Definition Dict.cpp:52
Copyright © by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on for Dime by Doxygen 1.15.0.