Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
xalanc::XPathFactoryBlock Class Reference

#include <xalanc/XPath/XPathFactoryBlock.hpp>

Inheritance diagram for xalanc::XPathFactoryBlock:
[legend]
Collaboration diagram for xalanc::XPathFactoryBlock:
[legend]

Public Types

enum  { eDefaultBlockSize = 20u }
 

Public Member Functions

 XPathFactoryBlock (MemoryManager &theManager, XalanSize_t theBlockSize=eDefaultBlockSize)
 
virtual ~XPathFactoryBlock ()
 
virtual void reset ()
 Reset the instance. More...
 
virtual XPathcreate ()
 Create an XPath. More...
 
- Public Member Functions inherited from xalanc::XPathFactory
 XPathFactory ()
 
virtual ~XPathFactory ()
 
bool returnObject (const XPath *theXPath)
 Return an XPath to the factory. More...
 

Protected Member Functions

virtual bool doReturnObject (const XPath *theXPath, bool fInReset=false)
 

Detailed Description

Definition at line 41 of file XPathFactoryBlock.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
eDefaultBlockSize 

Definition at line 46 of file XPathFactoryBlock.hpp.

Constructor & Destructor Documentation

◆ XPathFactoryBlock()

xalanc::XPathFactoryBlock::XPathFactoryBlock ( MemoryManager &  theManager,
XalanSize_t  theBlockSize = eDefaultBlockSize 
)
explicit

◆ ~XPathFactoryBlock()

virtual xalanc::XPathFactoryBlock::~XPathFactoryBlock ( )
virtual

Member Function Documentation

◆ create()

virtual XPath* xalanc::XPathFactoryBlock::create ( )
virtual

Create an XPath.

The XPath instance is owned by the factory, and should not be deleted. The factory will manage the lifetime.

Implements xalanc::XPathFactory.

◆ doReturnObject()

virtual bool xalanc::XPathFactoryBlock::doReturnObject ( const XPath theXPath,
bool  fInReset = false 
)
protectedvirtual

Implements xalanc::XPathFactory.

◆ reset()

virtual void xalanc::XPathFactoryBlock::reset ( )
virtual

Reset the instance.

This invalidates all existing instances created with this XPathFactory.

Implements xalanc::XPathFactory.


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