Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan C++ XSLT Processor Version 1.5
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
XalanDOMStringPool Class Reference
#include <XalanDOMStringPool.hpp>
Inheritance diagram for XalanDOMStringPool:
[legend]Collaboration diagram for XalanDOMStringPool:
[legend]List of all members.Public Types
Public Methods
Member Typedef Documentation
typedef AllocatorType::size_type XalanDOMStringPool::block_size_type
|
|
typedef size_t XalanDOMStringPool::bucket_count_type
|
|
typedef XalanDOMStringHashTable::bucket_size_type XalanDOMStringPool::bucket_size_type
|
|
Member Enumeration Documentation
|
-
Enumeration values:
-
eDefaultBlockSize
|
|
eDefaultBucketCount
|
|
eDefaultBucketSize
|
|
|
Constructor & Destructor Documentation
|
Create a string pool.
-
Parameters:
-
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. |
|
XalanDOMStringPool::~XalanDOMStringPool (
|
) [virtual]
|
|
Member Function Documentation
void XalanDOMStringPool::clear (
|
) [virtual]
|
|
|
Get a pooled string.
If the string is not pooled, it is added. -
Parameters:
-
theString
|
The string to pool. |
theLength
|
The length of the string. If XalanDOMString::npos, the string is assumed to be null-terminated. |
-
Returns:
-
a const reference to the pooled string.
Reimplemented in XercesLiaisonXalanDOMStringPool. |
|
Get a pooled string.
If the string is not pooled, it is added. -
Parameters:
-
theString
|
The string to pool. |
-
Returns:
-
a const reference to the pooled string.
Reimplemented in XercesLiaisonXalanDOMStringPool. |
|
Get a reference to the pool's hash table.
Useful for diagnostic purposes.
-
Returns:
-
a const reference to the hash table.
|
size_t XalanDOMStringPool::size (
|
) const [virtual]
|
|
The documentation for this class was generated from the following file:
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.5
Copyright © 2000, 2001, 2002, 2003 The Apache Software Foundation. All Rights Reserved.
|
|