## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.7

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

# XalanEXSLTFunctionMax Class Reference

`#include <XalanEXSLTMathImpl.hpp>`

Inheritance diagram for XalanEXSLTFunctionMax

Collaboration diagram for XalanEXSLTFunctionMax:

List of all members.

## Public Types

- typedef Function ParentType

## Public Methods

- XalanEXSLTFunctionMax ()
- virtual ~XalanEXSLTFunctionMax ()
- virtual XObjectPtr execute ( XPathExecutionContext& executionContext, XalanNode* context, const XObjectArgVectorType& args, const LocatorType* locator) const
    Execute an XPath function object. More...
- virtual XalanEXSLTFunctionMax* clone () const
    Create a copy of the function object. More...

## Protected Methods

- const XalanDOMString getError () const
    Get the error message to report when the function is called with the wrong number of arguments. More...

## Member Typedef Documentation

typedef Function XalanEXSLTFunctionMax::ParentType

## Constructor & Destructor Documentation

XalanEXSLTFunctionMax::XalanEXSLTFunctionMax ( | )`[]`

XalanEXSLTFunctionMax::~XalanEXSLTFunctionMax ( | )`[virtual]`

## Member Function Documentation

XalanEXSLTFunctionMax * XalanEXSLTFunctionMax::clone ( | ) const`[virtual]`

Create a copy of the function object.

Returns:
  pointer to the new object

Reimplemented from Function.

virtual XObjectPtr XalanEXSLTFunctionMax::execute ( | XPathExecutionContext & executionContext,
| XalanNode * context,
| const XObjectArgVectorType & args,
| const LocatorType * locator ) const`[virtual]`

Execute an XPath function object.

The function must return a valid object. Extension functions should override this version of execute(), rather than one of the other calls designed for a specific number of arguments, since the extension function mechanism will call this version first. Extension functions that accept more than three arguments _must_ override this version.

Parameters:

  executionContext | executing context
  context | current context node
  args | vector of pointers to XObject arguments
  locator | LocatorType instance for the XPath expression that contains the function call

Returns:
  pointer to the result XObject

Reimplemented from Function.

const XalanDOMString XalanEXSLTFunctionMax::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:

- XalanEXSLTMathImpl.hpp

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.7 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.