#include <XalanQNameByValueAllocator.hpp>
Public Types | |
typedef XalanQNameByValue | data_type |
typedef data_type::NamespacesStackType | NamespacesStackType |
typedef ArenaAllocator< data_type > | ArenaAllocatorType |
typedef ArenaAllocatorType::size_type | size_type |
Public Member Functions | |
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... | |
Definition at line 41 of file XalanQNameByValueAllocator.hpp.
Definition at line 53 of file XalanQNameByValueAllocator.hpp.
Definition at line 45 of file XalanQNameByValueAllocator.hpp.
Definition at line 46 of file XalanQNameByValueAllocator.hpp.
Definition at line 56 of file XalanQNameByValueAllocator.hpp.
XalanQNameByValueAllocator::XalanQNameByValueAllocator | ( | MemoryManager & | theManager, |
size_type | theBlockCount | ||
) |
Construct an instance that will allocate blocks of the specified size.
theBlockSize | The block size. |
XalanQNameByValueAllocator::~XalanQNameByValueAllocator | ( | ) |
data_type* XalanQNameByValueAllocator::create | ( | const XalanQNameByValue & | theSource) |
Create an instance.
theSource | The source of the copy. |
data_type* XalanQNameByValueAllocator::create | ( | const XalanDOMString & | theNamespaceURI, |
const XalanDOMString & | theLocalPart | ||
) |
Create an instance.
theNamespace | namespace string |
theLocalPart | local part string |
data_type* XalanQNameByValueAllocator::create | ( | const XalanDOMString & | qname, |
const NamespacesStackType & | namespaces, | ||
const Locator * | locator = 0 , |
||
bool | fUseDefault = false |
||
) |
Create an instance.
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. |
data_type* XalanQNameByValueAllocator::create | ( | const XalanDOMChar * | qname, |
const NamespacesStackType & | namespaces, | ||
const Locator * | locator = 0 , |
||
bool | fUseDefault = false |
||
) |
Create an instance.
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. |
data_type* XalanQNameByValueAllocator::create | ( | const XalanDOMString & | qname, |
const PrefixResolver * | theResolver = 0 , |
||
const Locator * | locator = 0 |
||
) |
Create an instance.
qname | QName string |
theResolver | prefix resolver to use |
locator | The Locator instance for error reporting, if any |
|
inline |
Get the number of ArenaBlocks currently allocated.
Definition at line 165 of file XalanQNameByValueAllocator.hpp.
|
inline |
Get size of an ArenaBlock, that is, the number of objects in each block.
Definition at line 177 of file XalanQNameByValueAllocator.hpp.
|
inline |
Determine if an object is owned by the allocator...
Definition at line 145 of file XalanQNameByValueAllocator.hpp.
|
inline |
Delete all objects from the allocator.
Definition at line 154 of file XalanQNameByValueAllocator.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|