Xalan-C++ API Reference 1.12.0
|
Class defines a table of functions that can be called in XPath expresions. More...
#include <xalanc/XPath/XPathFunctionTable.hpp>
Classes | |
struct | FunctionNameTableEntry |
Public Types | |
enum | { InvalidFunctionNumberID = -1 , TableSize = 36 } |
typedef size_t | SizeType |
typedef XalanDOMString::size_type | StringSizeType |
typedef DeleteFunctor< Function > | DeleteFunctorType |
Public Member Functions | |
XPathFunctionTable (bool fCreateTable=true) | |
Constructor. | |
~XPathFunctionTable () | |
void | setMemoryManager (MemoryManager &theManager) |
void | CreateTable () |
Set up the internal table. | |
void | DestroyTable () |
Destroy the internal table. | |
const Function & | get (const XalanDOMString &theFunctionName, const Locator *theLocator) const |
Retrieve the function object for a specified function name. | |
const Function & | operator[] (int theFunctionID) const |
Retrieve the function object for a specified function ID number. | |
const XalanDOMString & | idToName (int theFunctionID, XalanDOMString &theResult) const |
Map a function ID to the corresponding name. | |
int | nameToID (const XalanDOMString &theName) const |
Map a function name to the corresponding ID number. | |
void | InstallFunction (const XalanDOMString &theFunctionName, const Function &theFunction) |
Insert a named function into the function table. | |
bool | UninstallFunction (const XalanDOMString &theFunctionName) |
Remove a named function from the function table. | |
void | InstallFunction (const XalanDOMChar *theFunctionName, const Function &theFunction) |
Insert a named function into the function table. | |
bool | UninstallFunction (const XalanDOMChar *theFunctionName) |
Remove a named function from the function table. | |
bool | isInstalledFunction (const XalanDOMString &theFunctionName) const |
Whether a named function is in the function table. | |
template<class OutputIteratorType > | |
void | getInstalledFunctionNames (OutputIteratorType theIterator) const |
Add a list of the names of installed functions to a vector of names. | |
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.
Definition at line 99 of file XPathFunctionTable.hpp.
Definition at line 100 of file XPathFunctionTable.hpp.
Enumerator | |
---|---|
InvalidFunctionNumberID | |
TableSize |
Definition at line 97 of file XPathFunctionTable.hpp.
Constructor.
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.
|
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.
|
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.
|
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 xalanc::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 |
|
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.
References xalanc::XalanDOMString::c_str().
|
inline |
Whether a named function is in the function table.
theFunctionName | name of function |
Definition at line 297 of file XPathFunctionTable.hpp.
|
inline |
Map a function name to the corresponding ID number.
theName | name of function |
Definition at line 239 of file XPathFunctionTable.hpp.
Retrieve the function object for a specified function ID number.
theFunctionID | ID number of the function |
Definition at line 203 of file XPathFunctionTable.hpp.
|
inline |
Definition at line 113 of file XPathFunctionTable.hpp.
bool xalanc::XPathFunctionTable::UninstallFunction | ( | const XalanDOMChar * | theFunctionName | ) |
Remove a named function from the function table.
theFunctionName | name of function |
|
inline |
Remove a named function from the function table.
theFunctionName | name of function |
Definition at line 265 of file XPathFunctionTable.hpp.
References xalanc::XalanDOMString::c_str().
|
static |
Definition at line 385 of file XPathFunctionTable.hpp.
|
static |
Definition at line 388 of file XPathFunctionTable.hpp.
|
static |
Definition at line 376 of file XPathFunctionTable.hpp.
|
static |
Definition at line 394 of file XPathFunctionTable.hpp.
|
static |
Definition at line 364 of file XPathFunctionTable.hpp.
|
static |
Definition at line 391 of file XPathFunctionTable.hpp.
|
static |
Definition at line 397 of file XPathFunctionTable.hpp.
|
static |
Definition at line 439 of file XPathFunctionTable.hpp.
|
static |
Definition at line 367 of file XPathFunctionTable.hpp.
|
static |
Definition at line 370 of file XPathFunctionTable.hpp.
|
static |
Definition at line 418 of file XPathFunctionTable.hpp.
|
static |
Definition at line 442 of file XPathFunctionTable.hpp.
|
static |
Definition at line 448 of file XPathFunctionTable.hpp.
Definition at line 451 of file XPathFunctionTable.hpp.
|
static |
Definition at line 412 of file XPathFunctionTable.hpp.
|
static |
Definition at line 340 of file XPathFunctionTable.hpp.
|
static |
Definition at line 343 of file XPathFunctionTable.hpp.
|
static |
Definition at line 352 of file XPathFunctionTable.hpp.
|
static |
Definition at line 355 of file XPathFunctionTable.hpp.
|
static |
Definition at line 409 of file XPathFunctionTable.hpp.
|
static |
Definition at line 358 of file XPathFunctionTable.hpp.
|
static |
Definition at line 421 of file XPathFunctionTable.hpp.
|
static |
Definition at line 427 of file XPathFunctionTable.hpp.
|
static |
Definition at line 346 of file XPathFunctionTable.hpp.
|
static |
Definition at line 379 of file XPathFunctionTable.hpp.
|
static |
Definition at line 400 of file XPathFunctionTable.hpp.
|
static |
Definition at line 373 of file XPathFunctionTable.hpp.
|
static |
Definition at line 415 of file XPathFunctionTable.hpp.
|
static |
Definition at line 382 of file XPathFunctionTable.hpp.
|
static |
Definition at line 424 of file XPathFunctionTable.hpp.
|
static |
Definition at line 403 of file XPathFunctionTable.hpp.
|
static |
Definition at line 430 of file XPathFunctionTable.hpp.
|
static |
Definition at line 436 of file XPathFunctionTable.hpp.
|
static |
Definition at line 349 of file XPathFunctionTable.hpp.
|
static |
Definition at line 433 of file XPathFunctionTable.hpp.
|
static |
Definition at line 406 of file XPathFunctionTable.hpp.
|
static |
Definition at line 361 of file XPathFunctionTable.hpp.
|
static |
Definition at line 445 of file XPathFunctionTable.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Tue Oct 10 2023 15:42:22 for Xalan-C++ API Reference by