Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

FunctionDistinct Class Reference

XPath implementation of "difference" function. More...

Inheritance diagram for FunctionDistinct:

Function XalanEXSLTFunctionDistinct List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

XPath implementation of "difference" function.


Member Typedef Documentation

typedef Function FunctionDistinct::ParentType
 


Constructor & Destructor Documentation

FunctionDistinct::FunctionDistinct  ) 
 

virtual FunctionDistinct::~FunctionDistinct  )  [virtual]
 


Member Function Documentation

virtual FunctionDistinct* FunctionDistinct::clone  )  const [virtual]
 

Create a copy of the function object.

Returns:
pointer to the new object

Implements Function.

Reimplemented in XalanEXSLTFunctionDistinct.

virtual XObjectPtr Function::execute XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg1,
const XObjectPtr  arg2,
const XObjectPtr  arg3,
const LocatorType locator
const
 

Execute an XPath function object.

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

Parameters:
executionContext executing context
context current context node
arg1 pointer to XObject arguments
arg2 pointer to XObject argument
arg3 pointer to XObject argument
locator LocatorType instance for the XPath expression that contains the function call
Returns:
pointer to the result XObject

virtual XObjectPtr Function::execute XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg1,
const XObjectPtr  arg2,
const LocatorType locator
const
 

Execute an XPath function object.

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

Parameters:
executionContext executing context
context current context node
arg1 pointer to XObject argument
arg2 pointer to XObject argument
locator LocatorType instance for the XPath expression that contains the function call
Returns:
pointer to the result XObject

virtual XObjectPtr Function::execute XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg,
const LocatorType locator
const
 

Execute an XPath function object.

The function must return a valid object. Called if function has one parameter.

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

virtual XObjectPtr Function::execute XPathExecutionContext executionContext,
XalanNode context,
const LocatorType locator
const
 

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 LocatorType instance for the XPath expression that contains the function call
Returns:
pointer to the result XObject

virtual XObjectPtr Function::execute XPathExecutionContext executionContext,
XalanNode context,
const XObjectArgVectorType args,
const LocatorType locator
const
 

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

virtual XObjectPtr FunctionDistinct::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 FunctionDistinct::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

Implements Function.

Reimplemented in XalanEXSLTFunctionDistinct.


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