Unicorn XML Toolkit
Version 1.00.00

Namespace Xpath
Class CCoreFunctionLibrary

class CCoreFunctionLibrary: public CFunctionLibrary {
public:
    CCoreFunctionLibrary();
    ~CCoreFunctionLibrary();
public:
    bool IsFunctionAvailable(
        const CString &strNamespaceUri,
        const CString &strLocalName);
    XFunction FindFunction(
        const CString &strNamespaceUri,
        const CString &strLocalName);
    };

The XPath core function library.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
CFunction, CFunctionLibrary
Constructor/Destructor Summary
CCoreFunctionLibrary ();
����������Constructs the core function library.
~CCoreFunctionLibrary ();
����������Destroys the core function library.

Function Summary
bool IsFunctionAvailable (const CString &strNamespaceUri, const CString &strLocalName);
����������Tests whether a function with the given namespace URI and local name is available in this function library.
XFunction FindFunction (const CString &strNamespaceUri, const CString &strLocalName);
����������Looks up a function with the given namespace URI and local name in this function library.

Constructor/Destructor Detail

CCoreFunctionLibrary

CCoreFunctionLibrary();

Constructs the core function library.

Initially the core function library contains all core functions defined in XPath.

~CCoreFunctionLibrary

~CCoreFunctionLibrary();

Destroys the core function library.

Function Detail

IsFunctionAvailable

bool IsFunctionAvailable(
    const CString &strNamespaceUri,
    const CString &strLocalName);

Tests whether a function with the given namespace URI and local name is available in this function library.

Parameters:
strNamespaceUri - the namespace URI of a function
strLocalName - the local name of a function
Returns:
true if the function with the given namespace URI and local name is available in this function library; false otherwise

FindFunction

XFunction FindFunction(
    const CString &strNamespaceUri,
    const CString &strLocalName);

Looks up a function with the given namespace URI and local name in this function library.

Parameters:
strNamespaceUri - the namespace URI of a function to look up
strLocalName - the local name of a function to look up
Returns:
the function with the given namespace URI and local name, or NULL if none was found

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.