19 #if !defined(XALANSOURCETREEDOCUMENTALLOCATOR_INCLUDE_GUARD_12455133) 20 #define XALANSOURCETREEDOCUMENTALLOCATOR_INCLUDE_GUARD_12455133 37 XALAN_CPP_NAMESPACE_BEGIN
93 bool fPoolAllText =
true,
94 block_size_type theNamesStringPoolBlockSize = eDefaultNamesStringPoolBlockSize,
95 bucket_count_type theNamesStringPoolBucketCount = eDefaultNamesStringPoolBucketCount,
96 bucket_size_type theNamesStringPoolBucketSize = eDefaultNamesStringPoolBucketSize,
97 block_size_type theValuesStringPoolBlockSize = eDefaultValuesStringPoolBlockSize,
98 bucket_count_type theValuesStringPoolBucketCount = eDefaultValuesStringPoolBucketCount,
99 bucket_size_type theValuesStringPoolBucketSize = eDefaultValuesStringPoolBucketSize);
117 size_type theAttributeBlockSize,
118 size_type theAttributeNSBlockSize,
119 size_type theCommentBlockSize,
120 size_type theElementBlockSize,
121 size_type theElementNSBlockSize,
122 size_type thePIBlockSize,
123 size_type theTextBlockSize,
124 size_type theTextIWSBlockSize,
125 bool fPoolAllText =
true);
131 destroy(data_type* theObject);
139 return m_allocator.ownsObject(theObject);
156 return m_allocator.getBlockCount();
168 return m_allocator.getBlockSize();
180 ArenaAllocatorType m_allocator;
185 XALAN_CPP_NAMESPACE_END
189 #endif // XALANSOURCETREEDOCUMENTALLOCATOR_INCLUDE_GUARD_12455133
ReusableArenaBlockType::size_type size_type
ArenaAllocatorType::size_type size_type
XalanSourceTreeDocument::bucket_count_type bucket_count_type
ReusableArenaAllocator< data_type > ArenaAllocatorType
XalanSourceTreeDocument::bucket_size_type bucket_size_type
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
XalanDOMStringPool::block_size_type block_size_type
XalanDOMStringPool::bucket_size_type bucket_size_type
XalanDOMStringPool::bucket_count_type bucket_count_type
#define XALAN_XSLT_EXPORT
XalanSourceTreeDocument::block_size_type block_size_type
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
XalanSourceTreeDocument data_type