Xalan-C++ API Documentation

The Xalan C++ XSL Transformer Version 1.1

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

FunctionRound Class Reference

XPath implementation of "round" function. More...

#include <FunctionRound.hpp>

Inheritance diagram for FunctionRound

Inheritance graph

[legend]
Collaboration diagram for FunctionRound:

Collaboration graph

[legend]
List of all members.

Public Methods


Detailed Description

XPath implementation of "round" function.


Constructor & Destructor Documentation

FunctionRound::FunctionRound ( )
 

virtual FunctionRound::~FunctionRound ( ) [virtual]
 


Member Function Documentation

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

Create a copy of the function object.

Returns:
pointer to the new object

Reimplemented from Function.

XObjectPtr FunctionRound::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
int opPos,
const XObjectArgVectorType & args ) [virtual]
 

Execute an XPath function object.

The function must return a valid object.

Parameters:
executionContext   executing context
context   current context node
opPos   current op position
args   vector of pointers to XObject arguments
Returns:
pointer to the result XObject

Reimplemented from Function.

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

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
Returns:
pointer to the result XObject

Reimplemented from Function.

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

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
Returns:
pointer to the result XObject

Reimplemented from Function.

virtual XObjectPtr FunctionRound::execute ( XPathExecutionContext & executionContext,
XalanNode * context,
const XObjectPtr arg1 ) [virtual]
 

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
Returns:
pointer to the result XObject

Reimplemented from Function.

XObjectPtr FunctionRound::execute ( XPathExecutionContext & executionContext,
XalanNode * context ) [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
Returns:
pointer to the result XObject

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++ XSL Transformer Version 1.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.