Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanSourceTreeDocumentAllocator.hpp>
Public Types | |
enum | { eDefaultAttributeAllocatorBlockSize = XalanSourceTreeDocument::eDefaultAttributeAllocatorBlockSize , eDefaultAttributeNSAllocatorBlockSize = XalanSourceTreeDocument::eDefaultAttributeNSAllocatorBlockSize , eDefaultCommentAllocatorBlockSize = XalanSourceTreeDocument::eDefaultCommentAllocatorBlockSize , eDefaultElementAllocatorBlockSize = XalanSourceTreeDocument::eDefaultElementAllocatorBlockSize , eDefaultElementNSAllocatorBlockSize = XalanSourceTreeDocument::eDefaultElementNSAllocatorBlockSize , eDefaultPIAllocatorBlockSize = XalanSourceTreeDocument::eDefaultPIAllocatorBlockSize , eDefaultTextAllocatorBlockSize = XalanSourceTreeDocument::eDefaultTextAllocatorBlockSize , eDefaultTextIWSAllocatorBlockSize = XalanSourceTreeDocument::eDefaultTextIWSAllocatorBlockSize , eDefaultNamesStringPoolBlockSize = XalanSourceTreeDocument::eDefaultNamesStringPoolBlockSize , eDefaultNamesStringPoolBucketCount = XalanSourceTreeDocument::eDefaultNamesStringPoolBucketCount , eDefaultNamesStringPoolBucketSize = XalanSourceTreeDocument::eDefaultNamesStringPoolBucketSize , eDefaultValuesStringPoolBlockSize = XalanSourceTreeDocument::eDefaultValuesStringPoolBlockSize , eDefaultValuesStringPoolBucketCount = XalanSourceTreeDocument::eDefaultValuesStringPoolBucketCount , eDefaultValuesStringPoolBucketSize = XalanSourceTreeDocument::eDefaultValuesStringPoolBucketSize } |
typedef XalanSourceTreeDocument | data_type |
typedef ReusableArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
typedef XalanSourceTreeDocument::block_size_type | block_size_type |
typedef XalanSourceTreeDocument::bucket_count_type | bucket_count_type |
typedef XalanSourceTreeDocument::bucket_size_type | bucket_size_type |
Definition at line 41 of file XalanSourceTreeDocumentAllocator.hpp.
typedef ReusableArenaAllocator<data_type> xalanc::XalanSourceTreeDocumentAllocator::ArenaAllocatorType |
Definition at line 47 of file XalanSourceTreeDocumentAllocator.hpp.
typedef XalanSourceTreeDocument::block_size_type xalanc::XalanSourceTreeDocumentAllocator::block_size_type |
Definition at line 65 of file XalanSourceTreeDocumentAllocator.hpp.
typedef XalanSourceTreeDocument::bucket_count_type xalanc::XalanSourceTreeDocumentAllocator::bucket_count_type |
Definition at line 66 of file XalanSourceTreeDocumentAllocator.hpp.
typedef XalanSourceTreeDocument::bucket_size_type xalanc::XalanSourceTreeDocumentAllocator::bucket_size_type |
Definition at line 67 of file XalanSourceTreeDocumentAllocator.hpp.
Definition at line 45 of file XalanSourceTreeDocumentAllocator.hpp.
Definition at line 48 of file XalanSourceTreeDocumentAllocator.hpp.
Definition at line 50 of file XalanSourceTreeDocumentAllocator.hpp.
xalanc::XalanSourceTreeDocumentAllocator::XalanSourceTreeDocumentAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanSourceTreeDocumentAllocator::~XalanSourceTreeDocumentAllocator | ( | ) |
data_type * xalanc::XalanSourceTreeDocumentAllocator::create | ( | bool | fPoolAllText = true , |
block_size_type | theNamesStringPoolBlockSize = eDefaultNamesStringPoolBlockSize , |
||
bucket_count_type | theNamesStringPoolBucketCount = eDefaultNamesStringPoolBucketCount , |
||
bucket_size_type | theNamesStringPoolBucketSize = eDefaultNamesStringPoolBucketSize , |
||
block_size_type | theValuesStringPoolBlockSize = eDefaultValuesStringPoolBlockSize , |
||
bucket_count_type | theValuesStringPoolBucketCount = eDefaultValuesStringPoolBucketCount , |
||
bucket_size_type | theValuesStringPoolBucketSize = eDefaultValuesStringPoolBucketSize |
||
) |
Create a XalanSourceTreeDocument object.
fPoolAllText | If false, text node data that is not whitespace will not be pooled. |
theNamesStringPoolBlockSize | The block size for allocating strings in the name pool |
theNamesStringPoolBucketCount | The number of buckets for allocating strings in the name pool |
theNamesStringPoolBucketSize | The bucket size for allocating strings in the name pool |
theValuesStringPoolBlockSize | The block size for allocating strings in the values pool |
theValuesStringPoolBucketCount | The number of buckets for allocating strings in the values pool |
theValuesStringPoolBucketSize | The bucket size for allocating strings in the values pool |
data_type * xalanc::XalanSourceTreeDocumentAllocator::create | ( | size_type | theAttributeBlockSize, |
size_type | theAttributeNSBlockSize, | ||
size_type | theCommentBlockSize, | ||
size_type | theElementBlockSize, | ||
size_type | theElementNSBlockSize, | ||
size_type | thePIBlockSize, | ||
size_type | theTextBlockSize, | ||
size_type | theTextIWSBlockSize, | ||
bool | fPoolAllText = true |
||
) |
Create a XalanSourceTreeDocument object.
fPoolAllText | If false, text node data that is not whitespace will not be pooled. |
theAttributeBlockSize | The block size for allocating attribute nodes |
theAttributeNSBlockSize | The block size for allocating attribute NS nodes |
theCommentBlockSize | The block size for allocating comment nodes |
theElementBlockSize | The block size for allocating element nodes |
theElementNSBlockSize | The block size for allocating element nodes |
theTextBlockSize | The block size for allocating text nodes, |
theTextIWSBlockSize | The block size for allocating text IWS nodes, |
Delete a XalanSourceTreeDocument object from allocator.
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 154 of file XalanSourceTreeDocumentAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 166 of file XalanSourceTreeDocumentAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 137 of file XalanSourceTreeDocumentAllocator.hpp.
void xalanc::XalanSourceTreeDocumentAllocator::reset | ( | ) |
Delete all XalanSourceTreeDocument objects from allocator.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Mon Feb 5 2024 20:50:04 for Xalan-C++ API Reference by