56 #define addVisitor(owner, type, comp, validOps) \ 57 AtomicTypeVisitorResult::Ptr \ 58 owner##ComparatorLocator::visit(const type *, \ 60 const SourceLocationReflection *const) const \ 63 if(((validOps) & AtomicComparator::Operator(op)) == op) \ 64 return AtomicTypeVisitorResult::Ptr(new comp()); \ 66 return AtomicTypeVisitorResult::Ptr(); \ 69 #define visitorForDouble(owner, type) \ 70 AtomicTypeVisitorResult::Ptr \ 71 owner##ComparatorLocator::visit(const type *, \ 73 const SourceLocationReflection *const) const \ 75 if(((AtomicComparator::OperatorNotEqual | \ 76 AtomicComparator::OperatorGreaterOrEqual | \ 77 AtomicComparator::OperatorLessOrEqual) & AtomicComparator::Operator(op)) == op) \ 78 return AtomicTypeVisitorResult::Ptr(new AbstractFloatComparator()); \ 79 else if(op == AtomicComparator::OperatorLessThanNaNLeast) \ 80 return AtomicTypeVisitorResult::Ptr(new AbstractFloatSortComparator<AtomicComparator::OperatorLessThanNaNLeast>()); \ 81 else if(op == AtomicComparator::OperatorLessThanNaNGreatest) \ 82 return AtomicTypeVisitorResult::Ptr(new AbstractFloatSortComparator<AtomicComparator::OperatorLessThanNaNGreatest>()); \ 84 return AtomicTypeVisitorResult::Ptr(); \ 140 addVisitor(Integer, DecimalType, DecimalComparator,
212 addVisitor(DayTimeDuration, DurationType, AbstractDurationComparator,
215 addVisitor(DayTimeDuration, YearMonthDurationType, AbstractDurationComparator,
224 addVisitor(YearMonthDuration, DurationType, AbstractDurationComparator,
227 addVisitor(YearMonthDuration, YearMonthDurationType, AbstractDurationComparator,
Performs case sensitive string comparison between xs:anyUri, xs:string, and xs:untypedAtomic.
Base template class for Float and Double classes.
Implements the type xs:gDay.
Implements the type xs:yearMonthDuration.
#define QT_END_NAMESPACE
This macro expands to.
Implements the value instance of the xs:gYearMonth type.
Compares xs:decimal values.
static const AtomicComparator::Operators AllCompOperators(AtomicComparator::OperatorNotEqual|AtomicComparator::OperatorGreaterOrEqual|AtomicComparator::OperatorLessOrEqual|AtomicComparator::OperatorLessThanNaNLeast|AtomicComparator::OperatorLessThanNaNGreatest)
Compares xs:base64Binary and xs:hexBinary values.
Implements the type xs:float.
Implements the value instance of the xs:gYearMonth type.
Implements the type xs:time.
Implements the type xs:integer.
Implements the type xs:untypedAtomic.
Implements the type xs:double.
Implements the value instance of the xs:time type.
Base class for classes responsible of comparing two atomic values.
Implements the value instance of the xs:hexBinary type.
Implements the type xs:dateTime.
Compares xs:QName values.
Implements the type xs:dayTimeDuration.
Compares sub-classes of AbstractDuration.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Compares xs:boolean values.
The namespace for the internal API of QtXmlPatterns.
Implements the value instance of the xs:gMonth type.
Compares xs:integer values.
#define addVisitor(owner, type, comp, validOps)
Implements the type xs:anyURI.
Implements the type xs:gYearMonth.
Implements the type xs:date.
Implements the value instance of the xs:gYear type.
Implements the value instance of the xs:boolean type.
Implements the value instance of the xs:dayTimeDuration type.
Implements the type xs:decimal.
Implements the type xs:base64Binary.
Implements the value instance of the xs:date type.
Implements the type xs:gMonthDay.
Implements the type xs:boolean.
Implements the value instance of the xs:duration type.
Implements the value instance of the xs:yearMonthDuration type.
Implements the value instance of the xs:decimal type.
Implements the value instance of the xs:integer type.
Implements the type xs:hexBinary.
Implements the value instance of the xs:dateTime type.
#define visitorForDouble(owner, type)
Contains AtomicComparatorLocator sub-classes that finds classes which can compare atomic values...
The QFlags class provides a type-safe way of storing OR-combinations of enum values.
Compares sub-classes of AbstractDateTime.
Implements the value instance of the xs:base64Binary type.
Implements the type xs:duration.
Implements the value instance of the xs:gDay type.
Implements the type xs:gYear.
Implements the type xs:QName.
Implements the type xs:gMonth.
Contains all the classes implementing comparisons between atomic values.