Unicorn XML Toolkit
Version 1.50.00

Namespace Xml
Class CXpathExpr

class CXpathExpr: public CInterface {
public:
    CXpathExpr(Xpath::CExpr *pExpr);
    ~CXpathExpr();
public:
    CXpathValue Evaluate(CXpathContext *pContext);
public:
    Xpath::CExpr *GetExpr();
    };
typedef XInterface<CXpathExpr> XXpathExpr;

Encapsulates XPath expressions.

Objects of this type are normally created with the CreateExpr function.

Since:
1.50.00
Version:
1.50.00
Author:
Alexey Gokhberg
See Also:
CXpathValue, CXpathContext
Constructor/Destructor Summary
CXpathExpr (Xpath::CExpr *pExpr);
����������Constructs the XPath expression.
~CXpathExpr ();
����������Destroys the XPath expression.

Function Summary
CXpathValue Evaluate (CXpathContext *pContext);
����������Evaluates this XPath expression in a given context.
Xpath::CExpr�* GetExpr ();
����������Returns the internal representation of XPath expression encapsulated in this object.

Constructor/Destructor Detail

CXpathExpr

CXpathExpr(Xpath::CExpr *pExpr);

Constructs the XPath expression.

This constructor is intended mainly for the toolkit internal use.

Parameters:
pExpr - the internal representation of the XPath expression to be encapsulated in this object

~CXpathExpr

~CXpathExpr();

Destroys the XPath expression.

Function Detail

Evaluate

CXpathValue Evaluate(CXpathContext *pContext);

Evaluates this XPath expression in a given context.

Parameters:
pContext - the XPath context
Returns:
the result of evaluation

GetExpr

Xpath::CExpr *GetExpr();

Returns the internal representation of XPath expression encapsulated in this object.

This method is intended mainly for the toolkit internal use.

Returns:
the internal representation of XPath expression encapsulated in this object

Unicorn XML Toolkit
Version 1.50.00


This document was created using Unicorn DOC++.

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