Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XPathAllocator Class Reference

#include <XPathAllocator.hpp>

Collaboration diagram for XPathAllocator:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

Definition at line 41 of file XPathAllocator.hpp.


Member Typedef Documentation

Definition at line 53 of file XPathAllocator.hpp.

Definition at line 45 of file XPathAllocator.hpp.

Definition at line 56 of file XPathAllocator.hpp.


Constructor & Destructor Documentation

XPathAllocator::XPathAllocator ( MemoryManager &  theManager,
size_type  theBlockCount 
)

Construct an instance that will allocate blocks of the specified size.

Parameters:
theBlockSize The block size.
XPathAllocator::~XPathAllocator (  ) 

Member Function Documentation

object_type* XPathAllocator::create (  ) 

Create an XPath object using the allocator.

Returns:
a pointer to an XPath
size_type XPathAllocator::getBlockCount (  )  const [inline]

Get the number of objects in each block.

Returns:
The size of the block

Definition at line 96 of file XPathAllocator.hpp.

size_type XPathAllocator::getBlockSize (  )  const [inline]

Get the number of blocks currently allocated.

Returns:
The number of blocks.

Definition at line 107 of file XPathAllocator.hpp.

bool XPathAllocator::ownsObject ( const object_type theObject  )  [inline]

Determine if an object is owned by the allocator...

Definition at line 79 of file XPathAllocator.hpp.

void XPathAllocator::reset (  ) 

Delete all XPath objects allocated.


The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo