Xalan-C++ API Reference  1.12.0
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
xalanc::XPathFactory Class Referenceabstract

#include <xalanc/XPath/XPathFactory.hpp>

Inheritance diagram for xalanc::XPathFactory:
[legend]

Classes

struct  DeleteXPathFunctor
 A functor for use with stl algorithms. More...
 

Public Member Functions

 XPathFactory ()
 
virtual ~XPathFactory ()
 
bool returnObject (const XPath *theXPath)
 Return an XPath to the factory. More...
 
virtual void reset ()=0
 Reset the instance. More...
 
virtual XPathcreate ()=0
 Create an XPath. More...
 

Protected Member Functions

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

Friends

struct DeleteXPathFunctor
 

Detailed Description

Definition at line 41 of file XPathFactory.hpp.

Constructor & Destructor Documentation

◆ XPathFactory()

xalanc::XPathFactory::XPathFactory ( )
explicit

◆ ~XPathFactory()

virtual xalanc::XPathFactory::~XPathFactory ( )
virtual

Member Function Documentation

◆ create()

virtual XPath* xalanc::XPathFactory::create ( )
pure virtual

Create an XPath.

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

Implemented in xalanc::XPathFactoryBlock, and xalanc::XPathFactoryDefault.

◆ doReturnObject()

virtual bool xalanc::XPathFactory::doReturnObject ( const XPath theXPath,
bool  fInReset = false 
)
protectedpure virtual

◆ reset()

virtual void xalanc::XPathFactory::reset ( )
pure virtual

Reset the instance.

This invalidates all existing instances created with this XPathFactory.

Implemented in xalanc::XPathFactoryBlock, and xalanc::XPathFactoryDefault.

◆ returnObject()

bool xalanc::XPathFactory::returnObject ( const XPath theXPath)
inline

Return an XPath to the factory.

Parameters
theXPathThe XPath to be returned
Returns
true if the object belongs to the factory, false if not.

Definition at line 58 of file XPathFactory.hpp.

Friends And Related Function Documentation

◆ DeleteXPathFunctor

friend struct DeleteXPathFunctor
friend

Definition at line 116 of file XPathFactory.hpp.


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