Qt 4.8
Public Functions | Properties | List of all members
QPatternist::ProjectedStep Class Reference

#include <qprojectedexpression_p.h>

Inheritance diagram for QPatternist::ProjectedStep:
QPatternist::ProjectedExpression

Public Functions

virtual Action actionForElement (const QXmlName name, ProjectedExpression::Ptr &next) const
 
 ProjectedStep (const ProjectedNodeTest::Ptr test, const QXmlNodeModelIndex::Axis axis)
 
- Public Functions inherited from QPatternist::ProjectedExpression
virtual ~ProjectedExpression ()
 

Properties

const QXmlNodeModelIndex::Axis m_axis
 
const ProjectedNodeTest::Ptr m_test
 

Additional Inherited Members

- Public Types inherited from QPatternist::ProjectedExpression
enum  Action { Move = 0, Skip = 1, Keep = 2, KeepSubtree = 4 | Keep }
 
typedef ProjectedExpressionPtr
 
typedef QVector< ProjectedExpression::PtrVector
 

Detailed Description

Definition at line 105 of file qprojectedexpression_p.h.

Constructors and Destructors

◆ ProjectedStep()

QPatternist::ProjectedStep::ProjectedStep ( const ProjectedNodeTest::Ptr  test,
const QXmlNodeModelIndex::Axis  axis 
)
inline

Definition at line 108 of file qprojectedexpression_p.h.

109  : m_test(test),
110  m_axis(axis)
111  {
112  Q_ASSERT(m_test);
113  }
const ProjectedNodeTest::Ptr m_test
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
const QXmlNodeModelIndex::Axis m_axis

Functions

◆ actionForElement()

virtual Action QPatternist::ProjectedStep::actionForElement ( const QXmlName  name,
ProjectedExpression::Ptr next 
) const
inlinevirtual

Reimplemented from QPatternist::ProjectedExpression.

Definition at line 115 of file qprojectedexpression_p.h.

117  {
118  Q_UNUSED(name);
119  Q_UNUSED(next);
120  // TODO
121  return Skip;
122  }
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

Properties

◆ m_axis

const QXmlNodeModelIndex::Axis QPatternist::ProjectedStep::m_axis
private

Definition at line 126 of file qprojectedexpression_p.h.

◆ m_test

const ProjectedNodeTest::Ptr QPatternist::ProjectedStep::m_test
private

Definition at line 125 of file qprojectedexpression_p.h.


The documentation for this class was generated from the following file: