|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CPathExpr: public CExpr { public: CPathExpr(const XExpr &pBaseExpr); CPathExpr(bool bAbsolute); ~CPathExpr(); public: void AddStep(const XStepExpr &pStepExpr); public: XValue Evaluate(const XContext &pContext); };
The XPath path expression.
The path expression conforms to
to
PathExpr
syntax specified
by XPath.
CContext, CExpr, CStepExpr
Constructor/Destructor Summary | |
CPathExpr
(const XExpr &pBaseExpr);
����������Constructs the path expression based on a filter. |
|
CPathExpr
(bool bAbsolute);
����������Constructs the path expression based on a location path. |
|
~CPathExpr
();
����������Destroys the path expression. |
Function Summary | |
void
|
AddStep
(const XStepExpr &pStepExpr);
����������Adds a step expression to this path expression. |
XValue
|
Evaluate
(const XContext &pContext);
����������Evaluates this path expression. |
Constructor/Destructor Detail |
CPathExpr(const XExpr &pBaseExpr);
Constructs the path expression based on a filter.
This constructor creates the path expression started
with the
FilterExpr
component defined in
XPath.
pBaseExpr
- the expression representing
the
FilterExpr
component of this path
expressionCPathExpr(bool bAbsolute);
Constructs the path expression based on a location path.
This constructor creates the path expression conforming to
the
LocationPath
syntax defined in XPath.
true
if the location path of this path expression is absolute;
false
otherwise~CPathExpr();
Destroys the path expression.
Function Detail |
void AddStep(const XStepExpr &pStepExpr);
Adds a step expression to this path expression.
pStepExpr
- the step expression to addXValue Evaluate(const XContext &pContext);
Evaluates this path expression.
pContext
- the evaluation context
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |