17 #if !defined(XALANELEMTEXTALLOCATOR_INCLUDE_GUARD_12455133)
18 #define XALANELEMTEXTALLOCATOR_INCLUDE_GUARD_12455133
35 XALAN_CPP_NAMESPACE_BEGIN
87 return m_allocator.destroyObject(theObject);
96 return m_allocator.ownsObject(theObject);
116 return m_allocator.getBlockCount();
128 return m_allocator.getBlockSize();
140 ArenaAllocatorType m_allocator;
145 XALAN_CPP_NAMESPACE_END
149 #endif // XALANELEMTEXTALLOCATOR_INCLUDE_GUARD_12455133
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
ElemText data_type
Definition: XalanElemTextAllocator.hpp:43
ReusableArenaBlockType::size_type size_type
Definition: ReusableArenaAllocator.hpp:43
size_type getBlockSize() const
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition: XalanElemTextAllocator.hpp:126
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
Definition: XalanElemTextAllocator.hpp:94
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
Definition: XalanElemTextAllocator.hpp:114
Definition: XalanElemTextAllocator.hpp:39
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
This primarily acts as a marker on the element stack to signal that whitespace should be preserved...
Definition: ElemText.hpp:38
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
Definition: StylesheetConstructionContext.hpp:73
void reset()
Delete all objects from the allocator.
Definition: XalanElemTextAllocator.hpp:103
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
bool destroy(data_type *theObject)
Destroy an instance previously created.
Definition: XalanElemTextAllocator.hpp:85
ArenaAllocatorType::size_type size_type
Definition: XalanElemTextAllocator.hpp:47
ReusableArenaAllocator< data_type > ArenaAllocatorType
Definition: XalanElemTextAllocator.hpp:45