Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XALANELEMLITERALRESULTALLOCATOR_INCLUDE_GUARD_12455133)
20 #define XALANELEMLITERALRESULTALLOCATOR_INCLUDE_GUARD_12455133
37 XALAN_CPP_NAMESPACE_BEGIN
47 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
63 MemoryManager& theManager,
84 const XalanDOMChar* name,
86 XalanFileLoc lineNumber,
87 XalanFileLoc columnNumber);
95 return m_allocator.ownsObject(theObject);
115 return m_allocator.getBlockCount();
127 return m_allocator.getBlockSize();
139 ArenaAllocatorType m_allocator;
144 XALAN_CPP_NAMESPACE_END
148 #endif // XALANELEMLITERALRESULTALLOCATOR_INCLUDE_GUARD_12455133
XalanElemLiteralResultAllocator(MemoryManager &theManager, size_type theBlockCount)
Construct an instance that will allocate blocks of the specified size.
ElemLiteralResult data_type
~XalanElemLiteralResultAllocator()
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.
ArenaAllocatorType::size_type size_type
This class represents the base stylesheet or an "import" stylesheet.
bool ownsObject(const data_type *theObject)
Determine if an object is owned by the allocator...
data_type * create(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, XalanFileLoc lineNumber, XalanFileLoc columnNumber)
Construct an instance.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
ArenaAllocator< data_type > ArenaAllocatorType
size_type getBlockCount() const
Get the number of ArenaBlocks currently allocated.
void reset()
Delete all objects from the allocator.
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
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.
|
|