
| typedef size_t XalanDOMStringPool::bucket_count_type |
| XalanDOMStringPool::XalanDOMStringPool | ( | MemoryManagerType & | theManager, | |
| block_size_type | theBlockSize = eDefaultBlockSize, |
|||
| bucket_count_type | theBucketCount = eDefaultBucketCount, |
|||
| bucket_size_type | theBucketSize = eDefaultBucketSize | |||
| ) | [explicit] |
Create a string pool.
| theBlockSize | The block size for the allocator. | |
| theBucketCount | The number of buckets to use for the hash table. This should be a prime number for best results. | |
| theBucketSize | The initial size of each bucket in the hash table. |
| virtual XalanDOMStringPool::~XalanDOMStringPool | ( | ) | [virtual] |
| static XalanDOMStringPool* XalanDOMStringPool::create | ( | MemoryManagerType & | theManager, | |
| block_size_type | theBlockSize = eDefaultBlockSize, |
|||
| bucket_count_type | theBucketCount = eDefaultBucketCount, |
|||
| bucket_size_type | theBucketSize = eDefaultBucketSize | |||
| ) | [static] |
| virtual void XalanDOMStringPool::clear | ( | ) | [virtual] |
| virtual size_t XalanDOMStringPool::size | ( | ) | const [virtual] |
Get the number of strings in the pool.
Reimplemented in XercesLiaisonXalanDOMStringPool.
| virtual const XalanDOMString& XalanDOMStringPool::get | ( | const XalanDOMString & | theString | ) | [virtual] |
Get a pooled string.
If the string is not pooled, it is added.
| theString | The string to pool. |
Reimplemented in XercesLiaisonXalanDOMStringPool.
| virtual const XalanDOMString& XalanDOMStringPool::get | ( | const XalanDOMChar * | theString, | |
| XalanDOMString::size_type | theLength = XalanDOMString::npos | |||
| ) | [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 in XercesLiaisonXalanDOMStringPool.
| const XalanDOMStringHashTable& XalanDOMStringPool::getHashTable | ( | ) | const |
Get a reference to the pool's hash table.
Useful for diagnostic purposes.
| MemoryManagerType& XalanDOMStringPool::getMemoryManager | ( | ) |
| const MemoryManagerType& XalanDOMStringPool::getMemoryManager | ( | ) | const |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.10 |
|
|