XPathFunctionLibrary Class

The function library contains only a minimal set of XPath functions: boolean , number , string , last , position and count .

The implemented functions are: XPathBooleanFunction , XPathNumberFunction , XPathStringFunction , XPathLastFunction , XPathPositionFunction , and XPathCountFunction .

Definition

Line 304 of System.XPath/XPathFunction.cm

Constructors & Destructor

static XPathFunctionLibrary()
private XPathFunctionLibrary()

Member Functions

public XPathFunction* GetFunction(const String<uchar>& functionName)
public static XPathFunctionLibrary& Instance()

Member Variables

private HashMap<String<uchar>, XPathFunction*, Hasher<String<uchar>>, EqualTo<String<uchar>>> functionMap
private List<UniquePtr<XPathFunction>> functions
public static UniquePtr<XPathFunctionLibrary> instance

Constructor& Destructor Details

XPathFunctionLibrary Static Constructor

static XPathFunctionLibrary()

Definition
Line 306 of System.XPath/XPathFunction.cm


XPathFunctionLibrary Constructor

private XPathFunctionLibrary()

Definition
Line 309 of System.XPath/XPathFunction.cm


Member Function Details

GetFunction Member Function

public XPathFunction* GetFunction(const String<uchar>& functionName)

Definition
Line 327 of System.XPath/XPathFunction.cm


Instance Static Member Function

public static XPathFunctionLibrary& Instance()

Definition
Line 322 of System.XPath/XPathFunction.cm