95 prepareComparison(fetchComparator(asItemType, asItemType, context));
97 return flexibleCompare(operand1, operand2, context);
102 return m_sourceReflection;
128 "We can only compare atomic values.");
146 "We can only compare atomic values.");
151 return compare(value1, op, value2, type, context, sourceLocationReflection);
static AtomicValue::Ptr fromLexical(const QString &lexicalValue, const SchemaType::Ptr &type, const ReportContext::Ptr &context, const SourceLocationReflection *const sourceLocationReflection)
Returns an AtomicValue of type type from the lexical space lexicalValue, and raise an error through c...
virtual TypeCategory category() const =0
#define QT_END_NAMESPACE
This macro expands to.
static const AtomicType::Ptr xsDuration
static const AtomicType::Ptr xsGYearMonth
static const AtomicType::Ptr xsGMonthDay
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType AllCompOperators FloatType AllCompOperators AbstractDateTimeComparator
static const AtomicType::Ptr xsGDay
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool compare(const QVariant::Private *a, const QVariant::Private *b)
Compares a to b.
The namespace for the internal API of QtXmlPatterns.
virtual QString stringValue() const =0
static const AtomicType::Ptr xsGYear
#define Q_ASSERT_X(cond, where, what)
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType AllCompOperators FloatType AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators AbstractDurationComparator
static bool wxsTypeMatches(const SchemaType::Ptr &type, const SchemaType::Ptr &otherType, QSet< SchemaType::Ptr > &visitedTypes, SchemaType::Ptr &conflictingType)
static bool constructAndCompare(const DerivedString< TypeString >::Ptr &operand1, const AtomicComparator::Operator op, const DerivedString< TypeString >::Ptr &operand2, const SchemaType::Ptr &type, const ReportContext::Ptr &context, const SourceLocationReflection *const sourceLocationReflection)
Returns the result of evaluating operator op applied to the atomic values operand1 and operand2...
static const AtomicType::Ptr xsGMonth
Contains all the classes implementing comparisons between atomic values.
static bool compare(const AtomicValue::Ptr &operand1, const AtomicComparator::Operator op, const AtomicValue::Ptr &operand2, const SchemaType::Ptr &type, const ReportContext::Ptr &context, const SourceLocationReflection *const sourceLocationReflection)
Returns the result of evaluating operator op applied to the atomic values operand1 and operand2...
Base class for all instances that represents something at a certain location.