Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanElemTextLiteralAllocator.hpp>
Public Types | |
typedef ElemTextLiteral | data_type |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XalanElemTextLiteralAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. | |
~XalanElemTextLiteralAllocator () | |
data_type * | create (StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, XalanFileLoc lineNumber, XalanFileLoc columnNumber, const XalanDOMChar *ch, XalanDOMString::size_type start, XalanDOMString::size_type length, bool preserveSpace, bool disableOutputEscaping) |
Construct an instance. | |
bool | ownsObject (const data_type *theObject) |
Determine if an object is owned by the allocator... | |
void | reset () |
Delete all objects from the allocator. | |
size_type | getBlockCount () const |
Get the number of ArenaBlocks currently allocated. | |
size_type | getBlockSize () const |
Get size of an ArenaBlock, that is, the number of objects in each block. | |
Definition at line 41 of file XalanElemTextLiteralAllocator.hpp.
Definition at line 52 of file XalanElemTextLiteralAllocator.hpp.
Definition at line 45 of file XalanElemTextLiteralAllocator.hpp.
Definition at line 55 of file XalanElemTextLiteralAllocator.hpp.
xalanc::XalanElemTextLiteralAllocator::XalanElemTextLiteralAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanElemTextLiteralAllocator::~XalanElemTextLiteralAllocator | ( | ) |
data_type * xalanc::XalanElemTextLiteralAllocator::create | ( | StylesheetConstructionContext & | constructionContext, |
Stylesheet & | stylesheetTree, | ||
XalanFileLoc | lineNumber, | ||
XalanFileLoc | columnNumber, | ||
const XalanDOMChar * | ch, | ||
XalanDOMString::size_type | start, | ||
XalanDOMString::size_type | length, | ||
bool | preserveSpace, | ||
bool | disableOutputEscaping | ||
) |
Construct an instance.
constructionContext | context for construction of object |
stylesheetTree | stylesheet containing element |
lineNumber | line number in document |
columnNumber | column number in document |
ch | pointer to character string for element |
start | starting offset of element |
length | number of characters in element |
preserveSpace | true is space should be preserved |
disableOutputEscaping | true if output escaping should be disabled |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 119 of file XalanElemTextLiteralAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 131 of file XalanElemTextLiteralAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 99 of file XalanElemTextLiteralAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 108 of file XalanElemTextLiteralAllocator.hpp.
References xalanc::XalanMemMgrAutoPtr< Type >::reset().
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Mon Feb 5 2024 20:50:04 for Xalan-C++ API Reference by