Class defines a table of functions that can be called in XPath expresions.
More...
#include <xalanc/XPath/XPathFunctionTable.hpp>
Class defines a table of functions that can be called in XPath expresions.
Definition at line 93 of file XPathFunctionTable.hpp.
xalanc::XPathFunctionTable::XPathFunctionTable |
( |
bool |
fCreateTable = true | ) |
|
Constructor.
- Parameters
-
fCreateTable | If true, the internal table will be created. Otherwise, CreateTable() must be called. |
xalanc::XPathFunctionTable::~XPathFunctionTable |
( |
| ) |
|
void xalanc::XPathFunctionTable::CreateTable |
( |
| ) |
|
Set up the internal table.
void xalanc::XPathFunctionTable::DestroyTable |
( |
| ) |
|
Destroy the internal table.
const Function& xalanc::XPathFunctionTable::get |
( |
const XalanDOMString & |
theFunctionName, |
|
|
const Locator * |
theLocator |
|
) |
| const |
|
inline |
Retrieve the function object for a specified function name.
If the named Function is not found, an exception is thrown.
- Parameters
-
theFunctionName | The name of function |
theLocator | The Locator instance to use when reporting an error. |
- Returns
- function named
Definition at line 138 of file XPathFunctionTable.hpp.
template<class OutputIteratorType >
void xalanc::XPathFunctionTable::getInstalledFunctionNames |
( |
OutputIteratorType |
theIterator | ) |
const |
|
inline |
void xalanc::XPathFunctionTable::InstallFunction |
( |
const XalanDOMString & |
theFunctionName, |
|
|
const Function & |
theFunction |
|
) |
| |
|
inline |
void xalanc::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 |
bool xalanc::XPathFunctionTable::isInstalledFunction |
( |
const XalanDOMString & |
theFunctionName | ) |
const |
|
inline |
Whether a named function is in the function table.
- Parameters
-
theFunctionName | name of function |
- Returns
- true if function is in table
Definition at line 297 of file XPathFunctionTable.hpp.
int xalanc::XPathFunctionTable::nameToID |
( |
const XalanDOMString & |
theName | ) |
const |
|
inline |
Map a function name to the corresponding ID number.
- Parameters
-
- Returns
- The ID number of function, or InvalidFunctionNumberID if the function doesn't exist.
Definition at line 239 of file XPathFunctionTable.hpp.
const Function& xalanc::XPathFunctionTable::operator[] |
( |
int |
theFunctionID | ) |
const |
|
inline |
Retrieve the function object for a specified function ID number.
- Parameters
-
theFunctionID | ID number of the function |
- Returns
- function named
Definition at line 203 of file XPathFunctionTable.hpp.
void xalanc::XPathFunctionTable::setMemoryManager |
( |
MemoryManager & |
theManager | ) |
|
|
inline |
bool xalanc::XPathFunctionTable::UninstallFunction |
( |
const XalanDOMString & |
theFunctionName | ) |
|
|
inline |
bool xalanc::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.
const XalanDOMChar xalanc::XPathFunctionTable::s_boolean[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_ceiling[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_concat[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_contains[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_count[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_current[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_document[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_elementAvailable[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_false[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_floor[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_formatNumber[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_functionAvailable[] |
|
static |
const SizeType xalanc::XPathFunctionTable::s_functionNamesSize |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_generateId[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_id[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_key[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_lang[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_last[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_localName[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_name[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_namespaceUri[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_normalizeSpace[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_not[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_number[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_position[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_round[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_startsWith[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_string[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_stringLength[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_substring[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_substringAfter[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_substringBefore[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_sum[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_systemProperty[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_translate[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_true[] |
|
static |
const XalanDOMChar xalanc::XPathFunctionTable::s_unparsedEntityUri[] |
|
static |
The documentation for this class was generated from the following file: