Main Page   Class Hierarchy   Compound List   File List   Compound Members  

XPath::Axis Class Reference

Represents a reference to an XPath axis. More...

#include <xpath_expression.h>

Inheritance diagram for XPath::Axis::

XPath::XPathNode List of all members.

Public Types

enum  Id {
  NullAxis, Child, Descendent, Parent,
  Ancestor, FollowingSibling, PrecedingSibling, Following,
  Preceding, Attribute, Namespace, Self,
  DescendentOrSelf, AncestorOrSelf
}

Public Methods

 Axis ()
 Axis (const Axis &node)
 Axis (ushort fid)
virtual ~Axis ()
virtual Valueevaluate (QueryState *state)
virtual QString name () const
virtual QString qstring () const

Detailed Description

Represents a reference to an XPath axis.


Member Function Documentation

virtual Value* evaluate QueryState * state [virtual]
 

Evaluates the current node, in the context of the specified QueryState.

Note that if the evaluation is unsuccessful the value returned will be of the type Exception.

Reimplemented from XPath::XPathNode.

virtual QString qstring const [virtual]
 

Returns a dump of the node.

Reimplemented from XPath::XPathNode.


The documentation for this class was generated from the following file:
Generated at Sat Feb 15 02:18:35 2003 for 'KHTML::XPath' by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001