Class defines a table of functions that can be called in XPath expresions. More...
#include <XPathFunctionTable.hpp>
Class defines a table of functions that can be called in XPath expresions.
Definition at line 93 of file XPathFunctionTable.hpp.
Definition at line 101 of file XPathFunctionTable.hpp.
typedef size_t XPathFunctionTable::SizeType |
Definition at line 99 of file XPathFunctionTable.hpp.
Definition at line 100 of file XPathFunctionTable.hpp.
anonymous enum |
Definition at line 97 of file XPathFunctionTable.hpp.
XPathFunctionTable::XPathFunctionTable | ( | bool | fCreateTable = true |
) |
Constructor.
fCreateTable | If true, the internal table will be created. Otherwise, CreateTable() must be called. |
XPathFunctionTable::~XPathFunctionTable | ( | ) |
void XPathFunctionTable::CreateTable | ( | ) |
Set up the internal table.
void XPathFunctionTable::DestroyTable | ( | ) |
Destroy the internal table.
const Function& 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.
theFunctionName | The name of function | |
theLocator | The Locator instance to use when reporting an error. |
Definition at line 138 of file XPathFunctionTable.hpp.
void XPathFunctionTable::getInstalledFunctionNames | ( | OutputIteratorType | theIterator | ) | const [inline] |
Add a list of the names of installed functions to a vector of names.
theIterator | function table iterator to append names to |
Definition at line 309 of file XPathFunctionTable.hpp.
const XalanDOMString& XPathFunctionTable::idToName | ( | int | theFunctionID, | |
XalanDOMString & | theResult | |||
) | const [inline] |
Map a function ID to the corresponding name.
theFunctionID | The ID number of the function |
Definition at line 218 of file XPathFunctionTable.hpp.
void XPathFunctionTable::InstallFunction | ( | const XalanDOMString & | theFunctionName, | |
const Function & | theFunction | |||
) | [inline] |
Insert a named function into the function table.
theFunctionName | name of function | |
theFunction | function object corresponding to name |
Definition at line 251 of file XPathFunctionTable.hpp.
void XPathFunctionTable::InstallFunction | ( | const XalanDOMChar * | theFunctionName, | |
const Function & | theFunction | |||
) |
Insert a named function into the function table.
theFunctionName | name of function | |
theFunction | function object corresponding to name |
bool XPathFunctionTable::isInstalledFunction | ( | const XalanDOMString & | theFunctionName | ) | const [inline] |
Whether a named function is in the function table.
theFunctionName | name of function |
Definition at line 297 of file XPathFunctionTable.hpp.
int XPathFunctionTable::nameToID | ( | const XalanDOMString & | theName | ) | const [inline] |
Map a function name to the corresponding ID number.
theName | name of function |
Definition at line 239 of file XPathFunctionTable.hpp.
const Function& XPathFunctionTable::operator[] | ( | int | theFunctionID | ) | const [inline] |
Retrieve the function object for a specified function ID number.
theFunctionID | ID number of the function |
Definition at line 203 of file XPathFunctionTable.hpp.
void XPathFunctionTable::setMemoryManager | ( | MemoryManager & | theManager | ) | [inline] |
Definition at line 113 of file XPathFunctionTable.hpp.
bool XPathFunctionTable::UninstallFunction | ( | const XalanDOMChar * | theFunctionName | ) |
Remove a named function from the function table.
theFunctionName | name of function |
bool XPathFunctionTable::UninstallFunction | ( | const XalanDOMString & | theFunctionName | ) | [inline] |
Remove a named function from the function table.
theFunctionName | name of function |
Definition at line 265 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_boolean[] [static] |
Definition at line 385 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_ceiling[] [static] |
Definition at line 388 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_concat[] [static] |
Definition at line 376 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_contains[] [static] |
Definition at line 394 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_count[] [static] |
Definition at line 364 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_current[] [static] |
Definition at line 391 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_document[] [static] |
Definition at line 397 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_elementAvailable[] [static] |
Definition at line 439 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_false[] [static] |
Definition at line 367 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_floor[] [static] |
Definition at line 370 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_formatNumber[] [static] |
Definition at line 418 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_functionAvailable[] [static] |
Definition at line 442 of file XPathFunctionTable.hpp.
const FunctionNameTableEntry XPathFunctionTable::s_functionNames[] [static] |
Definition at line 448 of file XPathFunctionTable.hpp.
const SizeType XPathFunctionTable::s_functionNamesSize [static] |
Definition at line 451 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_generateId[] [static] |
Definition at line 412 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_id[] [static] |
Definition at line 340 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_key[] [static] |
Definition at line 343 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_lang[] [static] |
Definition at line 352 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_last[] [static] |
Definition at line 355 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_localName[] [static] |
Definition at line 409 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_name[] [static] |
Definition at line 358 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_namespaceUri[] [static] |
Definition at line 421 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_normalizeSpace[] [static] |
Definition at line 427 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_not[] [static] |
Definition at line 346 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_number[] [static] |
Definition at line 379 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_position[] [static] |
Definition at line 400 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_round[] [static] |
Definition at line 373 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_startsWith[] [static] |
Definition at line 415 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_string[] [static] |
Definition at line 382 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_stringLength[] [static] |
Definition at line 424 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_substring[] [static] |
Definition at line 403 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_substringAfter[] [static] |
Definition at line 430 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_substringBefore[] [static] |
Definition at line 436 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_sum[] [static] |
Definition at line 349 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_systemProperty[] [static] |
Definition at line 433 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_translate[] [static] |
Definition at line 406 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_true[] [static] |
Definition at line 361 of file XPathFunctionTable.hpp.
const XalanDOMChar XPathFunctionTable::s_unparsedEntityUri[] [static] |
Definition at line 445 of file XPathFunctionTable.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|