Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | List of all members
xalanc::FunctionFormatNumber Class Reference

#include <xalanc/XSLT/FunctionFormatNumber.hpp>

Inheritance diagram for xalanc::FunctionFormatNumber:
[legend]
Collaboration diagram for xalanc::FunctionFormatNumber:
[legend]

Public Types

typedef Function ParentType
 
- Public Types inherited from xalanc::Function
typedef xercesc::Locator LocatorType
 
typedef XPathExecutionContext::XObjectArgVectorType XObjectArgVectorType
 
typedef XPathExecutionContext::GetCachedString GetCachedString
 
typedef XPathExecutionContext::GetCachedNodeList GetCachedNodeList
 

Public Member Functions

 FunctionFormatNumber ()
 
virtual ~FunctionFormatNumber ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual FunctionFormatNumberclone (MemoryManager &theManager) const
 Create a copy of the function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg1, const XObjectPtr arg2, const XObjectPtr arg3, const Locator *locator) const
 Execute an XPath function object. More...
 
- Public Member Functions inherited from xalanc::Function
 Function ()
 
virtual ~Function ()
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectArgVectorType &args, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const Locator *locator) const
 Execute an XPath function object. More...
 
virtual XObjectPtr execute (XPathExecutionContext &executionContext, XalanNode *context, const XObjectPtr arg, const Locator *locator) const
 Execute an XPath function object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from xalanc::Function
void generalError (XPathExecutionContext &executionContext, const XalanNode *context, const Locator *locator) const
 Report the error returned from the getError() call. More...
 

Detailed Description

Definition at line 36 of file FunctionFormatNumber.hpp.

Member Typedef Documentation

◆ ParentType

Definition at line 40 of file FunctionFormatNumber.hpp.

Constructor & Destructor Documentation

◆ FunctionFormatNumber()

xalanc::FunctionFormatNumber::FunctionFormatNumber ( )

◆ ~FunctionFormatNumber()

virtual xalanc::FunctionFormatNumber::~FunctionFormatNumber ( )
virtual

Member Function Documentation

◆ clone()

virtual FunctionFormatNumber* xalanc::FunctionFormatNumber::clone ( MemoryManager &  theManager) const
virtual

Create a copy of the function object.

Returns
pointer to the new object

Implements xalanc::Function.

◆ execute() [1/7]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

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

Parameters
executionContextexecuting context
contextcurrent context node
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [2/7]

virtual XObjectPtr xalanc::Function::execute

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
executionContextexecuting context
contextcurrent context node
argsvector of pointers to XObject arguments
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [3/7]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

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

Parameters
executionContextexecuting context
contextcurrent context node
argpointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [4/7]

virtual XObjectPtr xalanc::FunctionFormatNumber::execute ( XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg1,
const XObjectPtr  arg2,
const Locator *  locator 
) const
virtual

Execute an XPath function object.

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

Parameters
executionContextexecuting context
contextcurrent context node
arg1pointer to XObject argument
arg2pointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

Reimplemented from xalanc::Function.

◆ execute() [5/7]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

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

Parameters
executionContextexecuting context
contextcurrent context node
arg1pointer to XObject argument
arg2pointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

◆ execute() [6/7]

virtual XObjectPtr xalanc::FunctionFormatNumber::execute ( XPathExecutionContext executionContext,
XalanNode context,
const XObjectPtr  arg1,
const XObjectPtr  arg2,
const XObjectPtr  arg3,
const Locator *  locator 
) const
virtual

Execute an XPath function object.

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

Parameters
executionContextexecuting context
contextcurrent context node
arg1pointer to XObject arguments
arg2pointer to XObject argument
arg3pointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

Reimplemented from xalanc::Function.

◆ execute() [7/7]

virtual XObjectPtr xalanc::Function::execute

Execute an XPath function object.

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

Parameters
executionContextexecuting context
contextcurrent context node
arg1pointer to XObject arguments
arg2pointer to XObject argument
arg3pointer to XObject argument
locatorLocator instance for the XPath expression that contains the function call
Returns
pointer to the result XObject

The documentation for this class was generated from the following file: