Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XSLT/XalanMatchPatternDataAllocator.hpp>
Public Types | |
typedef XalanMatchPatternData | data_type |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
XalanMatchPatternDataAllocator (MemoryManager &theManager, size_type theBlockCount) | |
Construct an instance that will allocate blocks of the specified size. | |
~XalanMatchPatternDataAllocator () | |
data_type * | create (const ElemTemplate &theTemplate, data_type::size_type thePosition, const XalanDOMString &theTargetString, const XPath &theMatchPattern, const XalanDOMString &thePatternString, data_type::eMatchScore thePriority) |
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 XalanMatchPatternDataAllocator.hpp.
Definition at line 52 of file XalanMatchPatternDataAllocator.hpp.
Definition at line 45 of file XalanMatchPatternDataAllocator.hpp.
Definition at line 55 of file XalanMatchPatternDataAllocator.hpp.
xalanc::XalanMatchPatternDataAllocator::XalanMatchPatternDataAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanMatchPatternDataAllocator::~XalanMatchPatternDataAllocator | ( | ) |
data_type * xalanc::XalanMatchPatternDataAllocator::create | ( | const ElemTemplate & | theTemplate, |
data_type::size_type | thePosition, | ||
const XalanDOMString & | theTargetString, | ||
const XPath & | theMatchPattern, | ||
const XalanDOMString & | thePatternString, | ||
data_type::eMatchScore | thePriority | ||
) |
Construct an instance.
constructionContext | context for construction of object |
stylesheetTree | stylesheet containing element |
atts | list of attributes for element |
lineNumber | line number in document |
columnNumber | column number in document |
theTemplate | The ElemTemplate node that contains the template for this pattern |
thePosition | The position in the stylesheet |
theTargetString | The target string for match pattern |
TheMatchPattern | The match pattern |
thePatternString | the pattern string |
thePriority | The priority for the match pattern. |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 117 of file XalanMatchPatternDataAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 129 of file XalanMatchPatternDataAllocator.hpp.
Determine if an object is owned by the allocator...
Definition at line 97 of file XalanMatchPatternDataAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 106 of file XalanMatchPatternDataAllocator.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