Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
19 #define XALANDOMSTRINGPOOL_HEADER_GUARD_1357924680
35 XALAN_CPP_NAMESPACE_BEGIN
43 enum { eDefaultBlockSize = 32,
62 MemoryManager& theManager,
69 MemoryManager& theManager,
111 const XalanDOMChar* theString,
129 return m_hashTable.getMemoryManager();
135 return m_hashTable.getMemoryManager();
150 AllocatorType m_stringAllocator;
152 size_t m_stringCount;
161 XALAN_CPP_NAMESPACE_END
165 #endif // !defined(XALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
virtual void clear()
Clear the pool.
virtual ~XalanDOMStringPool()
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
BucketType::size_type bucket_size_type
const MemoryManager & getMemoryManager() const
virtual const XalanDOMString & get(const XalanDOMString &theString)
Get a pooled string.
MemoryManager & getMemoryManager()
const XalanDOMStringHashTable & getHashTable() const
Get a reference to the pool's hash table.
virtual const XalanDOMString & get(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)
Get a pooled string.
AllocatorType::size_type block_size_type
XalanDOMStringPool(MemoryManager &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize)
Create a string pool.
XalanDOMStringAllocator AllocatorType
ArenaAllocatorType::size_type size_type
static XalanDOMStringPool * create(MemoryManager &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize)
virtual size_t size() const
Get the number of strings in the pool.
XalanDOMStringHashTable::bucket_size_type bucket_size_type
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|