Logo Search packages:      
Sourcecode: icu version File versions

Hashtable Class Reference

#include <hash.h>

List of all members.


Detailed Description

Hashtable is a thin C++ wrapper around UHashtable, a general-purpose void* hashtable implemented in C. Hashtable is designed to be idiomatic and easy-to-use in C++.

Hashtable is an INTERNAL CLASS.

Definition at line 26 of file hash.h.


Public Member Functions

int32_t count () const
const UHashElementfind (const UnicodeString &key) const
void * get (const UnicodeString &key) const
int32_t geti (const UnicodeString &key) const
 Hashtable (UBool ignoreKeyCase=FALSE)
 Hashtable (UBool ignoreKeyCase, UErrorCode &status)
const UHashElementnextElement (int32_t &pos) const
void * put (const UnicodeString &key, void *value, UErrorCode &status)
int32_t puti (const UnicodeString &key, int32_t value, UErrorCode &status)
void * remove (const UnicodeString &key)
void removeAll (void)
int32_t removei (const UnicodeString &key)
UObjectDeleter setValueDeleter (UObjectDeleter fn)
 ~Hashtable ()

Private Attributes

UHashtablehash

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index