Xalan-C++ API Reference 1.12.0
|
#include <xalanc/PlatformSupport/XalanDOMStringAllocator.hpp>
Definition at line 41 of file XalanDOMStringAllocator.hpp.
Definition at line 54 of file XalanDOMStringAllocator.hpp.
Definition at line 45 of file XalanDOMStringAllocator.hpp.
Definition at line 46 of file XalanDOMStringAllocator.hpp.
Definition at line 57 of file XalanDOMStringAllocator.hpp.
Enumerator | |
---|---|
eDefaultBlockSize |
Definition at line 59 of file XalanDOMStringAllocator.hpp.
xalanc::XalanDOMStringAllocator::XalanDOMStringAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate in blocks of the specified size.
theBlockSize | The block size. |
xalanc::XalanDOMStringAllocator::~XalanDOMStringAllocator | ( | ) |
data_type * xalanc::XalanDOMStringAllocator::create | ( | ) |
Create a XalanDOMString object.
data_type * xalanc::XalanDOMStringAllocator::create | ( | const char * | theString, |
data_type_size_type | theCount = data_type_size_type(data_type::npos) |
||
) |
Create a XalanDOMString object.
theString | A pointer to a character string |
theCount | The number of characters in the string, or npos if the string is null-terminated. |
data_type * xalanc::XalanDOMStringAllocator::create | ( | const data_type & | theSource, |
data_type_size_type | theStartPosition = 0 , |
||
data_type_size_type | theCount = data_type_size_type(data_type::npos) |
||
) |
Copy constructor.
theSource | The source string for the copy |
theStartPosition | The position to start in the source string. |
theCount | The number of characters to copy from the source string. |
data_type * xalanc::XalanDOMStringAllocator::create | ( | const XalanDOMChar * | theString, |
data_type_size_type | theCount = data_type_size_type(data_type::npos) |
||
) |
Create a XalanDOMString object.
theString | A pointer to a wide character string |
theCount | The number of characters in the string, or npos if the string is null-terminated. |
data_type * xalanc::XalanDOMStringAllocator::create | ( | data_type_size_type | theCount, |
XalanDOMChar | theChar | ||
) |
Create a XalanDOMString object.
theCount | the size of the string |
theChar | the character used to initialize the string |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 162 of file XalanDOMStringAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 174 of file XalanDOMStringAllocator.hpp.
|
inline |
Get a reference to the MemoryManager instance for this instance.
Definition at line 186 of file XalanDOMStringAllocator.hpp.
|
inline |
Get a reference to the MemoryManager instance for this instance.
Definition at line 198 of file XalanDOMStringAllocator.hpp.
References xalanc::XalanMemMgrAutoPtr< Type >::getMemoryManager().
Determine if an object is owned by the allocator...
Definition at line 142 of file XalanDOMStringAllocator.hpp.
|
inline |
Delete all instance objects from allocator.
Definition at line 151 of file XalanDOMStringAllocator.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