Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133
37 XALAN_CPP_NAMESPACE_BEGIN
47 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
78 const XalanDOMChar* val,
87 return m_allocator.ownsObject(theObject);
107 return m_allocator.getBlockCount();
119 return m_allocator.getBlockSize();
131 ArenaAllocatorType m_allocator;
136 XALAN_CPP_NAMESPACE_END
140 #endif // XALANAVTPARTSIMPLEALLOCATOR_INCLUDE_GUARD_12455133
XalanAVTPartSimpleAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ArenaAllocator< data_type > ArenaAllocatorType
Simple string part of a complex AVT.
ArenaBlockType::size_type size_type
#define XALAN_XSLT_EXPORT
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.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
ArenaAllocatorType::size_type size_type
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
void reset()
Delete all objects from the allocator.
~XalanAVTPartSimpleAllocator()
data_type * create(StylesheetConstructionContext &constructionContext, const XalanDOMChar *val, XalanDOMString::size_type len)
Create an instance.
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.
|
|