1#ifndef _KVI_KVS_HASH_H_
2#define _KVI_KVS_HASH_H_
76 void unset(
const QString & szKey);
KVIRC_API_TYPEDEF KviPointerHashTableIterator< QString, KviKvsVariant > KviKvsHashIterator
Definition KviKvsHash.h:39
kvi_u64_t kvs_uint_t
Definition KviKvsTypes.h:34
Handling of variant data type in KVS.
Helper functions for the QString class.
Definition KviHeapObject.h:119
KviKvsVariant * find(const QString &szKey) const
Returns the element associated to the given key.
Definition KviKvsHash.cpp:76
const KviPointerHashTable< QString, KviKvsVariant > * dict()
Returns the internal dictionary of the hash.
Definition KviKvsHash.cpp:91
kvs_uint_t size() const
Returns the size of the hash.
Definition KviKvsHash.cpp:96
bool isEmpty() const
Returns true if the hash is empty.
Definition KviKvsHash.cpp:81
void set(const QString &szKey, KviKvsVariant *pVal)
Sets an element into the hash.
Definition KviKvsHash.cpp:71
void serialize(QString &szResult)
Serializes the hash to a given buffer.
Definition KviKvsHash.cpp:116
void unset(const QString &szKey)
Unsets an element from the hash.
Definition KviKvsHash.cpp:66
KviKvsHash()
Constructs the hash data.
Definition KviKvsHash.cpp:27
KviPointerHashTable< QString, KviKvsVariant > * m_pDict
Definition KviKvsHash.h:141
KviKvsVariant * get(const QString &szKey)
Returns the element associated to the given key.
Definition KviKvsHash.cpp:142
void appendAsString(QString &szBuffer) const
Appends data to the hash converting it into a string.
Definition KviKvsHash.cpp:101
This class defines a new data type which contains variant data.
Definition KviKvsVariant.h:352
A fast pointer hash table iterator implementation.
Definition KviPointerHashTable.h:967
A fast pointer hash table implementation.
Definition KviPointerHashTable.h:450
This file contains compile time settings.
#define KVIRC_API
Definition kvi_settings.h:127
#define KVIRC_API_TYPEDEF
Definition kvi_settings.h:128
char szBuffer[4096]
Definition winamp.cpp:77