Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.4

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

FunctionLast Class Reference

XPath implementation of "last" function. More...

#include <FunctionLast.hpp>

Inheritance diagram for FunctionLast:

Function Collaboration diagram for FunctionLast:

List of all members.

Public Methods

Protected Methods


Detailed Description

XPath implementation of "last" function.


Constructor & Destructor Documentation

FunctionLast::FunctionLast ()

virtual FunctionLast::~FunctionLast () [virtual]


Member Function Documentation

virtual FunctionLast* FunctionLast::clone () const [virtual]

Create a copy of the function object.

Returns:
pointer to the new object

Reimplemented from Function.

virtual XObjectPtr FunctionLast::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
const Locator * locator) const [virtual]

Execute an XPath function object.

The function must return a valid object. Called if function has no parameters.

Parameters:
executionContext   executing context
context   current context node
locator   Locator for the XPath expression that contains the function call
Returns:
pointer to the result XObject

Reimplemented from Function.

const XalanDOMString FunctionLast::getError () const [protected, virtual]

Get the error message to report when the function is called with the wrong number of arguments.

Returns:
function error message

Reimplemented from Function.


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.4
Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.