Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
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. More...
 
virtual XPathcreate ()
 Create an XPath. More...
 
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. More...
 

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

Definition at line 65 of file XPathFactoryDefault.hpp.

Constructor & Destructor Documentation

◆ XPathFactoryDefault()

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

◆ ~XPathFactoryDefault()

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

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]

static 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: