|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS �� NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class CAxis: public CInterface { public: enum { child, descendant, parent, ancestor, followingSibling, precedingSibling, following, preceding, attribute, _namespace, self, descendantOrSelf, ancestorOrSelf }; public: CAxis(); virtual ~CAxis(); public: virtual int GetType() = 0; virtual XNodeSet Select(const XNode &pContextNode) = 0; };
The abstract interface to XPath axes.
Every axis object is assigned a certain type. Allowed type codes are specified using the anonymous enumeration in the declaration of this class.
CNodeSet, Dom::INode
Constructor/Destructor Summary | |
CAxis
();
����������Constructs the axis. |
|
~CAxis
();
����������Destroys the axis. |
Function Summary | |
int
|
GetType
();
����������Returns the type of this axis. |
XNodeSet
|
Select
(const XNode &pContextNode);
����������Selects nodes that belong to this axis. |
Constructor/Destructor Detail |
CAxis();
Constructs the axis.
virtual ~CAxis();
Destroys the axis.
Function Detail |
virtual int GetType() = 0;
Returns the type of this axis.
virtual XNodeSet Select(const XNode &pContextNode) = 0;
Selects nodes that belong to this axis.
pContextNode
- 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 |