Public Types | |
typedef XalanDOMStringPool | ParentType |
typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex | XMLMutexType |
typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock | XMLMutexLockType |
![]() | |
enum | { eDefaultBlockSize = 32, eDefaultBucketCount = XalanDOMStringHashTable::eDefaultBucketCount, eDefaultBucketSize = XalanDOMStringHashTable::eDefaultBucketSize } |
typedef XalanDOMStringAllocator | AllocatorType |
typedef AllocatorType::size_type | block_size_type |
typedef size_t | bucket_count_type |
typedef XalanDOMStringHashTable::bucket_size_type | bucket_size_type |
Public Member Functions | |
XercesLiaisonXalanDOMStringPool (MemoryManagerType &theManager) | |
virtual | ~XercesLiaisonXalanDOMStringPool () |
virtual void | clear () |
Clear the pool. | |
virtual size_t | size () const |
Get the number of strings in the pool. | |
virtual const XalanDOMString & | get (const XalanDOMString &theString) |
Get a pooled string. | |
virtual const XalanDOMString & | get (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) |
Get a pooled string. | |
![]() | |
XalanDOMStringPool (MemoryManagerType &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize) | |
Create a string pool. | |
virtual | ~XalanDOMStringPool () |
const XalanDOMStringHashTable & | getHashTable () const |
Get a reference to the pool's hash table. | |
MemoryManagerType & | getMemoryManager () |
const MemoryManagerType & | getMemoryManager () const |
Static Public Member Functions | |
static XercesLiaisonXalanDOMStringPool * | create (MemoryManagerType &theManager) |
![]() | |
static XalanDOMStringPool * | create (MemoryManagerType &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize) |
typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock XercesLiaisonXalanDOMStringPool::XMLMutexLockType |
typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex XercesLiaisonXalanDOMStringPool::XMLMutexType |
|
explicit |
|
virtual |
|
virtual |
Clear the pool.
Reimplemented from XalanDOMStringPool.
|
static |
|
virtual |
Get a pooled string.
If the string is not pooled, it is added.
theString | The string to pool. |
Reimplemented from XalanDOMStringPool.
|
virtual |
Get a pooled string.
If the string is not pooled, it is added.
theString | The string to pool. |
theLength | The length of the string. If XalanDOMString::npos, the string is assumed to be null-terminated. |
Reimplemented from XalanDOMStringPool.
|
virtual |
Get the number of strings in the pool.
Reimplemented from XalanDOMStringPool.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|