Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XercesParserLiaison/XercesLiaisonXalanDOMStringPool.hpp>
Public Types | |
typedef XalanDOMStringPool | ParentType |
typedef xercesc::XMLMutex | XMLMutexType |
typedef xercesc::XMLMutexLock | XMLMutexLockType |
Public Types inherited from xalanc::XalanDOMStringPool | |
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 (MemoryManager &theManager) | |
virtual | ~XercesLiaisonXalanDOMStringPool () |
virtual void | clear () |
Clear the pool. More... | |
virtual size_t | size () const |
Get the number of strings in the pool. More... | |
virtual const XalanDOMString & | get (const XalanDOMString &theString) |
Get a pooled string. More... | |
virtual const XalanDOMString & | get (const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) |
Get a pooled string. More... | |
Public Member Functions inherited from xalanc::XalanDOMStringPool | |
XalanDOMStringPool (MemoryManager &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize) | |
Create a string pool. More... | |
virtual | ~XalanDOMStringPool () |
const XalanDOMStringHashTable & | getHashTable () const |
Get a reference to the pool's hash table. More... | |
MemoryManager & | getMemoryManager () |
const MemoryManager & | getMemoryManager () const |
Static Public Member Functions | |
static XercesLiaisonXalanDOMStringPool * | create (MemoryManager &theManager) |
Static Public Member Functions inherited from xalanc::XalanDOMStringPool | |
static XalanDOMStringPool * | create (MemoryManager &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize) |
Definition at line 41 of file XercesLiaisonXalanDOMStringPool.hpp.
Definition at line 45 of file XercesLiaisonXalanDOMStringPool.hpp.
typedef xercesc::XMLMutexLock xalanc::XercesLiaisonXalanDOMStringPool::XMLMutexLockType |
Definition at line 47 of file XercesLiaisonXalanDOMStringPool.hpp.
typedef xercesc::XMLMutex xalanc::XercesLiaisonXalanDOMStringPool::XMLMutexType |
Definition at line 46 of file XercesLiaisonXalanDOMStringPool.hpp.
|
explicit |
|
virtual |
|
virtual |
Clear the pool.
Reimplemented from xalanc::XalanDOMStringPool.
|
static |
|
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 xalanc::XalanDOMStringPool.
|
virtual |
Get a pooled string.
If the string is not pooled, it is added.
theString | The string to pool. |
Reimplemented from xalanc::XalanDOMStringPool.
|
virtual |
Get the number of strings in the pool.
Reimplemented from xalanc::XalanDOMStringPool.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:39 for Xalan-C++ API Reference by 1.8.17