|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CStepExpr: public CExpr { public: CStepExpr(const XAxis &pAxis, const XNodeTest &pNodeTest); ~CStepExpr(); public: void AddPredicate(const XPredicate &pPredicate); int GetAxisType(); XAxis GetAxis(); XNodeTest GetNodeTest(); int GetPredicateCount(); XPredicate GetPredicate(int nIndex); public: XValue Evaluate(const XContext &pContext); };
The XPath location step.
CValue, CAxis, CNodeTest, CPredicate
Constructor/Destructor Summary | |
CStepExpr
(const XAxis &pAxis, const XNodeTest &pNodeTest);
����������Constructs the location step. |
|
~CStepExpr
();
����������Destroys the location step. |
Function Summary | |
void
|
AddPredicate
(const XPredicate &pPredicate);
����������Adds the predicate to the end of the list of predicates of this location setp. |
int
|
GetAxisType
();
����������Returns the type of the axis of this location step. |
XAxis
|
GetAxis
();
����������Returns the axis of this location step. |
XNodeTest
|
GetNodeTest
();
����������Returns the node test of this location step. |
int
|
GetPredicateCount
();
����������Returns the number of predicates in this location step. |
XPredicate
|
GetPredicate
(int nIndex);
����������Returns the predicate at the given index in this location step. |
XValue
|
Evaluate
(const XContext &pContext);
����������Evaluates the expression represented by this location step. |
Constructor/Destructor Detail |
CStepExpr(const XAxis &pAxis, const XNodeTest &pNodeTest);
Constructs the location step.
pAxis
- the axis of this location steppNodeTest
- the node test of this location step~CStepExpr();
Destroys the location step.
Function Detail |
void AddPredicate(const XPredicate &pPredicate);
Adds the predicate to the end of the list of predicates of this location setp.
pPredicate
- the predicate to addint GetAxisType();
Returns the type of the axis of this location step.
XAxis GetAxis();
Returns the axis of this location step.
XNodeTest GetNodeTest();
Returns the node test of this location step.
int GetPredicateCount();
Returns the number of predicates in this location step.
XPredicate GetPredicate(int nIndex);
Returns the predicate at the given index in this location step.
nIndex
- the zero-based indexXValue Evaluate(const XContext &pContext);
Evaluates the expression represented by this location step.
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 |