Qt 4.8
|
Performs case sensitive string comparison between xs:anyUri
, xs:string
, and xs:untypedAtomic
.
More...
#include <qatomiccomparators_p.h>
Public Functions | |
virtual ComparisonResult | compare (const Item &op1, const AtomicComparator::Operator op, const Item &op2) const |
virtual bool | equals (const Item &op1, const Item &op2) const |
Public Functions inherited from QPatternist::AtomicComparator | |
AtomicComparator () | |
virtual | ~AtomicComparator () |
Public Functions inherited from QPatternist::AtomicTypeVisitorResult | |
AtomicTypeVisitorResult () | |
virtual | ~AtomicTypeVisitorResult () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Performs case sensitive string comparison between xs:anyUri
, xs:string
, and xs:untypedAtomic
.
Definition at line 77 of file qatomiccomparators_p.h.
|
virtual |
Compares two strings, and returns the appropriate AtomicComparator::ComparisonResult enum. This is a bit simplified version of string comparison as defined in the XPath specifications, since this does not take any string collations into account(which an implementation neither is required to do).
Reimplemented from QPatternist::AtomicComparator.
Definition at line 57 of file qatomiccomparators.cpp.
Compares two strings, and returns true
if they are considered equal as per an ordinary string comparison. In other words, this is an implementation with the Unicode code point collation.
Implements QPatternist::AtomicComparator.
Definition at line 74 of file qatomiccomparators.cpp.