Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions

XPathGuard Class Reference

Manages the lifetime of an XPath instance. More...

#include <XPathFactory.hpp>

Collaboration diagram for XPathGuard:
Collaboration graph
[legend]

List of all members.

Public Member Functions


Detailed Description

Manages the lifetime of an XPath instance.

Definition at line 135 of file XPathFactory.hpp.


Constructor & Destructor Documentation

XPathGuard::XPathGuard ( XPathFactory theFactory,
const XPath theXPath 
) [inline]

Construct an XPathGuard instance from a factory object and an XPath.

Parameters:
theFactory object that manages lifetime of XPaths
theXPath pointer to XPath managed

Definition at line 145 of file XPathFactory.hpp.

XPathGuard::XPathGuard ( XPathGuard theRHS  )  [inline]

Definition at line 155 of file XPathFactory.hpp.

XPathGuard::~XPathGuard (  )  [inline]

Definition at line 170 of file XPathFactory.hpp.


Member Function Documentation

const XPath* XPathGuard::get (  )  const [inline]

Retrieve the object pointer (may be null).

Returns:
pointer to XPath

Definition at line 194 of file XPathFactory.hpp.

const XPath* XPathGuard::operator-> (  )  const [inline]

Retrieve the object pointer (must not be null).

Returns:
pointer to XPath

Definition at line 181 of file XPathFactory.hpp.

const XPath* XPathGuard::release (  )  [inline]

Transfers ownership of XPath to caller.

Returns:
pointer to XPath

Definition at line 223 of file XPathFactory.hpp.

void XPathGuard::reset (  )  [inline]

Return the referenced object to the factory and set pointers to null.

Definition at line 203 of file XPathFactory.hpp.


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