Xalan-C++ API Reference 1.12.0
xalanc::XPathFactoryDefault Class Reference

#include <xalanc/XPath/XPathFactoryDefault.hpp>

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

Public Types

typedef XalanSet< const XPath * > CollectionType

Public Member Functions

 XPathFactoryDefault (MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
virtual ~XPathFactoryDefault ()
virtual void reset ()
 Reset the instance.
virtual XPathcreate ()
 Create an XPath.
CollectionType::size_type getInstanceCount () const
Public Member Functions inherited from xalanc::XPathFactory
 XPathFactory ()
virtual ~XPathFactory ()
bool returnObject (const XPath *theXPath)
 Return an XPath to the factory.

Static Public Member Functions

static XPathFactoryDefaultcreate (MemoryManager &theManager)

Protected Member Functions

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

Detailed Description

Definition at line 41 of file XPathFactoryDefault.hpp.

Member Typedef Documentation

◆ CollectionType

Constructor & Destructor Documentation

◆ XPathFactoryDefault()

xalanc::XPathFactoryDefault::XPathFactoryDefault ( MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
explicit

References XALAN_DEFAULT_MEMMGR.

Referenced by ~XPathFactoryDefault().

◆ ~XPathFactoryDefault()

virtual xalanc::XPathFactoryDefault::~XPathFactoryDefault ( )
virtual

References XPathFactoryDefault().

Member Function Documentation

◆ create() [1/2]

virtual XPath * xalanc::XPathFactoryDefault::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.

◆ create() [2/2]

XPathFactoryDefault * xalanc::XPathFactoryDefault::create ( MemoryManager & theManager)
static

◆ doReturnObject()

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

Implements xalanc::XPathFactory.

◆ getInstanceCount()

CollectionType::size_type xalanc::XPathFactoryDefault::getInstanceCount ( ) const
inline

Definition at line 68 of file XPathFactoryDefault.hpp.

◆ reset()

virtual void xalanc::XPathFactoryDefault::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: