#include <xalanc/PlatformSupport/XalanDOMStringAllocator.hpp>
Definition at line 41 of file XalanDOMStringAllocator.hpp.
◆ ArenaAllocatorType
◆ data_type
◆ data_type_size_type
◆ size_type
◆ anonymous enum
◆ XalanDOMStringAllocator()
xalanc::XalanDOMStringAllocator::XalanDOMStringAllocator |
( |
MemoryManager & |
theManager, |
|
|
size_type |
theBlockCount |
|
) |
| |
Construct an instance that will allocate in blocks of the specified size.
- Parameters
-
theBlockSize | The block size. |
◆ ~XalanDOMStringAllocator()
xalanc::XalanDOMStringAllocator::~XalanDOMStringAllocator |
( |
| ) |
|
◆ create() [1/5]
data_type* xalanc::XalanDOMStringAllocator::create |
( |
| ) |
|
◆ create() [2/5]
Create a XalanDOMString object.
- Parameters
-
theString | A pointer to a character string |
theCount | The number of characters in the string, or npos if the string is null-terminated. |
- Returns
- pointer to the new instance
◆ create() [3/5]
Copy constructor.
- Parameters
-
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. |
- Returns
- pointer to the new instance
◆ create() [4/5]
Create a XalanDOMString object.
- Parameters
-
theString | A pointer to a wide character string |
theCount | The number of characters in the string, or npos if the string is null-terminated. |
- Returns
- pointer to the new instance
◆ create() [5/5]
Create a XalanDOMString object.
- Parameters
-
theCount | the size of the string |
theChar | the character used to initialize the string |
- Returns
- pointer to the new instance
◆ getBlockCount()
size_type xalanc::XalanDOMStringAllocator::getBlockCount |
( |
| ) |
const |
|
inline |
◆ getBlockSize()
size_type xalanc::XalanDOMStringAllocator::getBlockSize |
( |
| ) |
const |
|
inline |
◆ getMemoryManager() [1/2]
MemoryManager& xalanc::XalanDOMStringAllocator::getMemoryManager |
( |
| ) |
|
|
inline |
Get a reference to the MemoryManager instance for this instance.
- Returns
- A reference to the MemoryManager instance.
Definition at line 186 of file XalanDOMStringAllocator.hpp.
◆ getMemoryManager() [2/2]
const MemoryManager& xalanc::XalanDOMStringAllocator::getMemoryManager |
( |
| ) |
const |
|
inline |
Get a reference to the MemoryManager instance for this instance.
- Returns
- A reference to the MemoryManager instance.
Definition at line 198 of file XalanDOMStringAllocator.hpp.
◆ ownsObject()
bool xalanc::XalanDOMStringAllocator::ownsObject |
( |
const data_type * |
theObject | ) |
|
|
inline |
◆ reset()
void xalanc::XalanDOMStringAllocator::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: