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