#include <xalanc/XPath/XalanQNameByValueAllocator.hpp>
|
| XalanQNameByValueAllocator (MemoryManager &theManager, size_type theBlockCount) |
| Construct an instance that will allocate blocks of the specified size. More...
|
|
| ~XalanQNameByValueAllocator () |
|
data_type * | create (const XalanQNameByValue &theSource) |
| Create an instance. More...
|
|
data_type * | create (const XalanDOMString &theNamespaceURI, const XalanDOMString &theLocalPart) |
| Create an instance. More...
|
|
data_type * | create (const XalanDOMString &qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false) |
| Create an instance. More...
|
|
data_type * | create (const XalanDOMChar *qname, const NamespacesStackType &namespaces, const Locator *locator=0, bool fUseDefault=false) |
| Create an instance. More...
|
|
data_type * | create (const XalanDOMString &qname, const PrefixResolver *theResolver=0, const Locator *locator=0) |
| Create an instance. More...
|
|
bool | ownsObject (const data_type *theObject) |
| Determine if an object is owned by the allocator... More...
|
|
void | reset () |
| Delete all objects from the allocator. More...
|
|
size_type | getBlockCount () const |
| Get the number of ArenaBlocks currently allocated. More...
|
|
size_type | getBlockSize () const |
| Get size of an ArenaBlock, that is, the number of objects in each block. More...
|
|
◆ ArenaAllocatorType
◆ data_type
◆ NamespacesStackType
◆ size_type
◆ XalanQNameByValueAllocator()
xalanc::XalanQNameByValueAllocator::XalanQNameByValueAllocator |
( |
MemoryManager & |
theManager, |
|
|
size_type |
theBlockCount |
|
) |
| |
Construct an instance that will allocate blocks of the specified size.
- Parameters
-
theBlockSize | The block size. |
◆ ~XalanQNameByValueAllocator()
xalanc::XalanQNameByValueAllocator::~XalanQNameByValueAllocator |
( |
| ) |
|
◆ create() [1/5]
data_type* xalanc::XalanQNameByValueAllocator::create |
( |
const XalanDOMChar * |
qname, |
|
|
const NamespacesStackType & |
namespaces, |
|
|
const Locator * |
locator = 0 , |
|
|
bool |
fUseDefault = false |
|
) |
| |
Create an instance.
- Parameters
-
qname | QName string |
namespaces | namespace vector stack to use |
locator | The Locator instance for error reporting, if any |
fUseDefault | If true, then elements with no prefix will have the default namespace URI, if there is one. |
- Returns
- A pointer to the new instance.
◆ create() [2/5]
Create an instance.
- Parameters
-
qname | QName string |
namespaces | namespace vector stack to use |
locator | The Locator instance for error reporting, if any |
fUseDefault | If true, then elements with no prefix will have the default namespace URI, if there is one. |
- Returns
- A pointer to the new instance.
◆ create() [3/5]
Create an instance.
- Parameters
-
qname | QName string |
theResolver | prefix resolver to use |
locator | The Locator instance for error reporting, if any |
- Returns
- A pointer to the new instance.
◆ create() [4/5]
Create an instance.
- Parameters
-
theNamespace | namespace string |
theLocalPart | local part string |
- Returns
- A pointer to the new instance.
◆ create() [5/5]
Create an instance.
- Parameters
-
theSource | The source of the copy. |
- Returns
- A pointer to the new instance.
◆ getBlockCount()
size_type xalanc::XalanQNameByValueAllocator::getBlockCount |
( |
| ) |
const |
|
inline |
◆ getBlockSize()
size_type xalanc::XalanQNameByValueAllocator::getBlockSize |
( |
| ) |
const |
|
inline |
◆ ownsObject()
bool xalanc::XalanQNameByValueAllocator::ownsObject |
( |
const data_type * |
theObject | ) |
|
|
inline |
◆ reset()
void xalanc::XalanQNameByValueAllocator::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: