52 #ifndef Patternist_OrderBy_H 53 #define Patternist_OrderBy_H 90 AtomicComparator::AsValueComparison>
QVector< OrderSpec > Vector
#define QT_END_NAMESPACE
This macro expands to.
Item::Iterator::Ptr mapToSequence(const Item &i, const DynamicContext::Ptr &context) const
const Stability m_stability
virtual Properties properties() const
Together with OrderBy, it implements XQuery 1.0's order by expression.
ReturnOrderBy *const m_returnOrderBy
OrderSpec()
Default constructor, which is needed by QVector.
virtual Item::Iterator::Ptr evaluateSequence(const DynamicContext::Ptr &context) const
AtomicComparator::Operator operatorID() const
const SourceLocationReflection * actualReflection() const
Performs the sorting by being a parent to ForClause.
T * data() const
Returns a pointer to the shared data object.
virtual SequenceType::List expectedOperandTypes() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
StaticContext::OrderingEmptySequence orderingEmptySequence
QExplicitlySharedDataPointer< const OrderBy > ConstPtr
OrderSpec::Vector m_orderSpecs
void prepare(const Expression::Ptr &source, const StaticContext::Ptr &context)
The namespace for the internal API of QtXmlPatterns.
virtual SequenceType::Ptr staticType() const
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
Represents an item in the XPath 2.0 Data Model.
OrderBy(const Stability stability, const OrderSpec::Vector &orderSpecs, const Expression::Ptr &operand, ReturnOrderBy *const returnOrderBy)
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
OrderSpec(const Direction dir, const StaticContext::OrderingEmptySequence orderingEmpty)
The QList class is a template class that provides lists.
Base class for all instances that represents something at a certain location.
Base class for expressions that has exactly one operand.