|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XALANDOMSTRINGHASHTABLE_HEADER_GUARD_1357924680)
19 #define XALANDOMSTRINGHASHTABLE_HEADER_GUARD_1357924680
50 enum { eDefaultBucketCount = 101, eDefaultBucketSize = 15 };
61 MemoryManager& theManager,
62 size_t theBucketCount = eDefaultBucketCount,
63 bucket_size_type theBucketSize = eDefaultBucketSize);
101 getBucketCounts(BucketCountsType& theVector)
const;
125 size_t* theBucketIndex = 0)
const;
141 const XalanDOMChar* theString,
143 size_t* theBucketIndex = 0)
const;
178 size_t theBucketIndex);
183 return m_buckets.getMemoryManager();
189 return m_buckets.getMemoryManager();
205 const size_t m_bucketCount;
207 const bucket_size_type m_bucketSize;
209 BucketVectorType m_buckets;
222 #endif // !defined(XALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void clear(XalanDOMString &theString)
Remove all elements from target string.
MemoryManager & getMemoryManager()
size_t collisions() const
Get the collision count.
ExplicitMemoryManagedConstructionTraits< BucketType > ConstructionTraits
const MemoryManager & getMemoryManager() const
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
XalanVector< const XalanDOMString * > BucketType
BucketType::size_type bucket_size_type
size_t size() const
Get the number of strings in the table.
size_t bucketCount() const
Get the number of buckets in the table.
~XalanDOMStringHashTable()
XalanDOMString & insert(XalanDOMString &theString, XalanDOMString::size_type thePosition, const XalanDOMString &theStringToInsert)
Insert a string into another string.
XalanVector< BucketType, ConstructionTraits > BucketVectorType
XalanVector< bucket_size_type > BucketCountsType