Xalan-C++ API Documentation
Go to the documentation of this file.
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);
125 bool fPoolAllText =
true);
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
@ eDefaultAttributeAllocatorBlockSize
ArenaAllocatorType::size_type size_type
@ eDefaultCommentAllocatorBlockSize
data_type * 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.
@ eDefaultValuesStringPoolBucketCount
XalanSourceTreeDocument::bucket_size_type bucket_size_type
XalanSourceTreeDocument::bucket_count_type bucket_count_type
@ eDefaultElementAllocatorBlockSize
~XalanSourceTreeDocumentAllocator()
#define XALAN_XSLT_EXPORT
XalanDOMStringPool::block_size_type block_size_type
XalanSourceTreeDocument data_type
@ eDefaultTextIWSAllocatorBlockSize
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
XalanDOMStringPool::bucket_size_type bucket_size_type
XalanDOMStringPool::bucket_count_type bucket_count_type
void reset()
Delete all XalanSourceTreeDocument objects from allocator.
XalanSourceTreeDocumentAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
@ eDefaultValuesStringPoolBlockSize
ReusableArenaAllocator< data_type > ArenaAllocatorType
@ eDefaultPIAllocatorBlockSize
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
XalanSourceTreeDocument::block_size_type block_size_type
bool destroy(data_type *theObject)
Delete a XalanSourceTreeDocument object from allocator.
@ eDefaultValuesStringPoolBucketSize
@ eDefaultNamesStringPoolBlockSize
@ eDefaultNamesStringPoolBucketSize
@ eDefaultTextAllocatorBlockSize
@ eDefaultElementNSAllocatorBlockSize
@ eDefaultAttributeNSAllocatorBlockSize
ReusableArenaBlockType::size_type size_type
data_type * 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.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
@ eDefaultNamesStringPoolBucketCount
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
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.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|