22#if !defined(XERCESC_INCLUDE_GUARD_HASH2KEYSSETOF_HPP)
23#define XERCESC_INCLUDE_GUARD_HASH2KEYSSETOF_HPP
26#include <xercesc/util/Hashers.hpp>
38template <
class THasher>
53template <
class THasher>
67 const THasher& hasher,
77 bool containsKey(
const void*
const key1,
const int key2)
const;
78 void removeKey(
const void*
const key1,
const int key2);
91 void put(
const void* key1,
int key2);
113 void initialize(
const XMLSize_t modulus);
148template <
class THasher>
156 ,
const bool adopt =
false
214 const void* fLockPrimaryKey;
219#if !defined(XERCES_TMPLSINC)
220#include <xercesc/util/Hash2KeysSetOf.c>
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
Definition Hash2KeysSetOf.hpp:150
bool hasMoreElements() const
void nextElementKey(const void *&, int &)
virtual ~Hash2KeysSetOfEnumerator()
Hash2KeysSetOfEnumerator(Hash2KeysSetOf< THasher > *const toEnum, const bool adopt=false, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
void setPrimaryKey(const void *key)
Definition Hash2KeysSetOf.hpp:55
XMLSize_t getHashModulus() const
bool containsKey(const void *const key1, const int key2) const
void put(const void *key1, int key2)
bool putIfNotPresent(const void *key1, int key2)
MemoryManager * getMemoryManager() const
void removeKey(const void *const key1)
void removeKey(const void *const key1, const int key2)
Hash2KeysSetOf(const XMLSize_t modulus, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Hash2KeysSetOf(const XMLSize_t modulus, const THasher &hasher, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Configurable memory manager.
Definition MemoryManager.hpp:40
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition XMemory.hpp:41
Definition Hash2KeysSetOf.hpp:46
int fKey2
Definition Hash2KeysSetOf.hpp:49
const void * fKey1
Definition Hash2KeysSetOf.hpp:48
Hash2KeysSetBucketElem * fNext
Definition Hash2KeysSetOf.hpp:47