![]() |
Qt 4.8
|
#include <qorderby_p.h>
Public Types | |
| enum | Direction { Ascending, Descending } |
| typedef QVector< OrderSpec > | Vector |
Public Functions | |
| const SourceLocationReflection * | actualReflection () const |
| AtomicComparator::Operator | operatorID () const |
| OrderSpec () | |
| Default constructor, which is needed by QVector. More... | |
| OrderSpec (const Direction dir, const StaticContext::OrderingEmptySequence orderingEmpty) | |
| void | prepare (const Expression::Ptr &source, const StaticContext::Ptr &context) |
Public Variables | |
| Direction | direction |
| StaticContext::OrderingEmptySequence | orderingEmptySequence |
Properties | |
| Expression::Ptr | m_expr |
Additional Inherited Members | |
Protected Functions inherited from QPatternist::ComparisonPlatform< OrderBy::OrderSpec, true, AtomicComparator::AsValueComparison > | |
| const AtomicComparator::Ptr & | comparator () const |
| bool | compare (const Item &i1, const Item &i2, const AtomicComparator::Ptr &comp, const AtomicComparator::Operator op) const |
Compares i1 and i2 with operator op, using comparator comp. All input arguments must be valid, and not null. More... | |
| ComparisonPlatform () | |
| AtomicComparator::ComparisonResult | detailedFlexibleCompare (const Item &it1, const Item &it2, const DynamicContext::Ptr &context) const |
like flexibleCompare(), but returns the result as an AtomicComparator::Operator instead of bool. More... | |
| AtomicComparator::Ptr | fetchComparator (const ItemType::Ptr &type1, const ItemType::Ptr &type2, const ReportContext::Ptr &context) const |
| bool | flexibleCompare (const Item &it1, const Item &it2, const DynamicContext::Ptr &context) const |
Compares it1 against it2, using comparator() and operatorID(). More... | |
| void | prepareComparison (const AtomicComparator::Ptr &comparator) |
| void | useCaseInsensitiveComparator () |
This class is value based.
Definition at line 88 of file qorderby_p.h.
Definition at line 98 of file qorderby_p.h.
|
inline |
Default constructor, which is needed by QVector.
Definition at line 109 of file qorderby_p.h.
|
inline |
Definition at line 113 of file qorderby_p.h.
|
inline |
Definition at line 122 of file qorderby_p.h.
|
inline |
Definition at line 139 of file qorderby_p.h.
| void OrderBy::OrderSpec::prepare | ( | const Expression::Ptr & | source, |
| const StaticContext::Ptr & | context | ||
| ) |
Definition at line 69 of file qorderby.cpp.
Referenced by OrderSpec().
| Direction QPatternist::OrderBy::OrderSpec::direction |
We place these afterwards, such that m_expr gets aligned at the start of the address.
Definition at line 135 of file qorderby_p.h.
Referenced by qLess< Item::List >::operator()().
|
private |
Definition at line 128 of file qorderby_p.h.
Referenced by actualReflection().
| StaticContext::OrderingEmptySequence QPatternist::OrderBy::OrderSpec::orderingEmptySequence |
Definition at line 137 of file qorderby_p.h.
Referenced by qLess< Item::List >::operator()().