Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan C++ XSLT Processor Version 1.9
XPathFunctionTable Class Reference
Class defines a table of functions that can be called in XPath expresions.
More...
Collaboration diagram for XPathFunctionTable:
[legend]List of all members.Public Types
Public Member Functions
Static Public Attributes
Detailed Description
Class defines a table of functions that can be called in XPath expresions.
Member Typedef Documentation
Member Enumeration Documentation
|
- Enumeration values:
-
InvalidFunctionNumberID |
|
TableSize |
|
|
Constructor & Destructor Documentation
XPathFunctionTable::XPathFunctionTable |
( |
bool |
fCreateTable = true |
) |
|
|
|
Constructor.
- Parameters:
-
fCreateTable | If true, the internal table will be created. Otherwise, CreateTable() must be called. |
|
Member Function Documentation
void XPathFunctionTable::CreateTable |
( |
|
) |
|
|
|
Set up the internal table.
|
void XPathFunctionTable::DestroyTable |
( |
|
) |
|
|
|
Destroy the internal table.
|
template<class OutputIteratorType> |
void XPathFunctionTable::getInstalledFunctionNames |
( |
OutputIteratorType |
theIterator |
) |
const |
|
|
Add a list of the names of installed functions to a vector of names.
- Parameters:
-
theIterator | function table iterator to append names to |
|
|
Map a function ID to the corresponding name.
- Parameters:
-
theFunctionID | The ID number of the function |
- Returns:
- The name of the function, or an empty string if the function doesn't exist.
|
void XPathFunctionTable::InstallFunction |
( |
const XalanDOMChar * |
theFunctionName, |
|
|
const Function & |
theFunction |
|
) |
|
|
|
Insert a named function into the function table.
- Parameters:
-
theFunctionName | name of function |
theFunction | function object corresponding to name |
|
void XPathFunctionTable::InstallFunction |
( |
const XalanDOMString & |
theFunctionName, |
|
|
const Function & |
theFunction |
|
) |
|
|
|
Insert a named function into the function table.
- Parameters:
-
theFunctionName | name of function |
theFunction | function object corresponding to name |
|
bool XPathFunctionTable::isInstalledFunction |
( |
const XalanDOMString & |
theFunctionName |
) |
const |
|
|
Whether a named function is in the function table.
- Parameters:
-
theFunctionName | name of function |
- Returns:
- true if function is in table
|
int XPathFunctionTable::nameToID |
( |
const XalanDOMString & |
theName |
) |
const |
|
|
Map a function name to the corresponding ID number.
- Parameters:
-
- Returns:
- The ID number of function, or InvalidFunctionNumberID if the function doesn't exist.
|
const Function& XPathFunctionTable::operator[] |
( |
int |
theFunctionID |
) |
const |
|
|
Retrieve the function object for a specified function ID number.
- Parameters:
-
theFunctionID | ID number of the function |
- Returns:
- function named
|
|
Retrieve the function object for a specified function name.
- Parameters:
-
theFunctionName | name of function |
- Returns:
- function named
|
bool XPathFunctionTable::UninstallFunction |
( |
const XalanDOMChar * |
theFunctionName |
) |
|
|
|
Remove a named function from the function table.
- Parameters:
-
theFunctionName | name of function |
- Returns:
- true if the function was found and removed.
|
bool XPathFunctionTable::UninstallFunction |
( |
const XalanDOMString & |
theFunctionName |
) |
|
|
|
Remove a named function from the function table.
- Parameters:
-
theFunctionName | name of function |
- Returns:
- true if the function was found and removed.
|
Member Data Documentation
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.9
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.
|
|