52 #ifndef Patternist_AtomicComparator_H 53 #define Patternist_AtomicComparator_H 103 OperatorNotEqual = 1 << 1,
108 OperatorGreaterThan = 1 << 2,
113 OperatorLessThan = 1 << 3,
120 OperatorLessThanNaNLeast = 1 << 4,
127 OperatorLessThanNaNGreatest = 1 << 5,
132 OperatorGreaterOrEqual = OperatorEqual | OperatorGreaterThan,
137 OperatorLessOrEqual = OperatorEqual | OperatorLessThan
170 const Item &op2)
const;
182 virtual bool equals(
const Item &op1,
183 const Item &op2)
const = 0;
193 AsGeneralComparison = 1,
#define QT_END_NAMESPACE
This macro expands to.
Due to strong interdependencies, this file contains the definitions for the classes Item...
Base class for classes responsible of comparing two atomic values.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool compare(const QVariant::Private *a, const QVariant::Private *b)
Compares a to b.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
The namespace for the internal API of QtXmlPatterns.
QFlags< Operator > Operators
QExplicitlySharedDataPointer< AtomicComparator > Ptr
Represents an item in the XPath 2.0 Data Model.
#define Q_AUTOTEST_EXPORT
The QFlags class provides a type-safe way of storing OR-combinations of enum values.