XalanDOMStringReusableAllocator::XalanDOMStringReusableAllocator | ( | MemoryManagerType & | theManager, | |
size_type | theBlockCount | |||
) |
Construct an instance that will allocate in blocks of the specified size.
theBlockSize | The block size. |
XalanDOMStringReusableAllocator::~XalanDOMStringReusableAllocator | ( | ) |
data_type& XalanDOMStringReusableAllocator::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 |
data_type& XalanDOMStringReusableAllocator::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& XalanDOMStringReusableAllocator::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& XalanDOMStringReusableAllocator::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& XalanDOMStringReusableAllocator::create | ( | ) |
bool XalanDOMStringReusableAllocator::destroy | ( | XalanDOMString & | theDOMString | ) |
size_type XalanDOMStringReusableAllocator::getBlockCount | ( | ) | const |
Get the number of ArenaBlocks currently allocated.
size_type XalanDOMStringReusableAllocator::getBlockSize | ( | ) | const |
Get size of an ArenaBlock, that is, the number of objects in each block.
const MemoryManagerType& XalanDOMStringReusableAllocator::getMemoryManager | ( | ) | const |
Get a reference to the MemoryManagerType instance for this instance.
MemoryManagerType& XalanDOMStringReusableAllocator::getMemoryManager | ( | ) |
Get a reference to the MemoryManagerType instance for this instance.
bool XalanDOMStringReusableAllocator::ownsObject | ( | const data_type * | theObject | ) |
Determine if an object is owned by the allocator.
..
void XalanDOMStringReusableAllocator::reset | ( | ) |
Delete all instance objects from allocator.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|