List of all members.
Public Types
Public Member Functions
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
Construct an instance that will allocate in blocks of the specified size.
- Parameters:
-
theBlockSize | The block size. |
XalanDOMStringReusableAllocator::~XalanDOMStringReusableAllocator |
( |
| ) |
|
Member Function Documentation
data_type& XalanDOMStringReusableAllocator::create |
( |
| ) |
|
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:
- reference to the new instance
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:
- reference to the new instance
Create a XalanDOMString object.
- Parameters:
-
theCount | the size of the string |
theChar | the character used to initialize the string |
- Returns:
- reference to the new instance
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:
- reference to the new instance
bool XalanDOMStringReusableAllocator::destroy |
( |
XalanDOMString & |
theDOMString | ) |
|
size_type XalanDOMStringReusableAllocator::getBlockCount |
( |
| ) |
const |
Get the number of ArenaBlocks currently allocated.
- Returns:
- The number of blocks.
size_type XalanDOMStringReusableAllocator::getBlockSize |
( |
| ) |
const |
Get size of an ArenaBlock, that is, the number of objects in each block.
- Returns:
- The size of the block
Get a reference to the MemoryManagerType instance for this instance.
- Returns:
- A reference to the MemoryManagerType instance.
Get a reference to the MemoryManagerType instance for this instance.
- Returns:
- A reference to the MemoryManagerType 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.
The documentation for this class was generated from the following file: