52 #ifndef Patternist_BuiltinAtomicTypes_H 53 #define Patternist_BuiltinAtomicTypes_H 384 template<TypeOfDerivedInteger derivedType>
393 return v->visit(
this, r);
414 Q_ASSERT_X(
false,
"DerivedIntegerType::name()",
"Invalid value in instantiation.");
420 return np->displayName(
name(np));
706 template<TypeOfDerivedString derivedType>
715 return v->visit(
this, r);
734 Q_ASSERT_X(
false,
"DerivedStringType::name()",
"Invalid value in instantiation.");
740 return np->displayName(
name(np));
DerivedIntegerType(const AtomicType::Ptr &parentType, const AtomicCasterLocator::Ptr &casterLoc)
Provides access to singleton instances of ItemType and SchemaType sub-classes.
virtual QString displayName(const NamePool::Ptr &np) const
QExplicitlySharedDataPointer< GYearType > Ptr
virtual AtomicTypeVisitorResult::Ptr accept(const AtomicTypeVisitor::Ptr &visitor, const SourceLocationReflection *const reflection) const
Implements the type xs:gDay.
virtual AtomicTypeVisitorResult::Ptr accept(const AtomicTypeVisitor::Ptr &v, const SourceLocationReflection *const r) const
Implements the type xs:anyAtomicType.
Implements the type xs:yearMonthDuration.
#define QT_END_NAMESPACE
This macro expands to.
QExplicitlySharedDataPointer< GYearMonthType > Ptr
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 AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual DurationType
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 DayTimeDurationType
virtual ItemType::Ptr xdtSuperType() const
QExplicitlySharedDataPointer< QNameType > Ptr
QExplicitlySharedDataPointer< DateType > Ptr
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 AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual YearMonthDurationType
virtual AtomicTypeVisitorResult::Ptr accept(const AtomicTypeVisitor::Ptr &v, const SourceLocationReflection *const r) const
DerivedStringType(const AtomicType::Ptr &parentType, const AtomicCasterLocator::Ptr &casterLoc)
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual BooleanType
Implements the type xs:float.
QExplicitlySharedDataPointer< Base64BinaryType > Ptr
Contains AtomicCasterLocator sub-classes that finds classes which can perform casting from one atomic...
Implements the type xs:time.
QExplicitlySharedDataPointer< DecimalType > Ptr
Implements the type xs:integer.
Implements the type xs:untypedAtomic.
Implements the type xs:double.
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
QExplicitlySharedDataPointer< HexBinaryType > Ptr
virtual AtomicCasterLocator::Ptr casterLocator() const
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
Implements the type xs:dateTime.
QExplicitlySharedDataPointer< AnyAtomicType > Ptr
The QString class provides a Unicode character string.
AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply DateType
virtual QXmlName name(const NamePool::Ptr &np) const
Returns the name of the type.
QExplicitlySharedDataPointer< BooleanType > Ptr
Implements the type xs:dayTimeDuration.
QExplicitlySharedDataPointer< GDayType > Ptr
QExplicitlySharedDataPointer< UntypedAtomicType > Ptr
#define QT_BEGIN_NAMESPACE
This macro expands to.
QExplicitlySharedDataPointer< IntegerType > Ptr
AllCompOperators HexBinaryType
virtual QXmlName name(const NamePool::Ptr &np) const
Returns the name of the type.
QExplicitlySharedDataPointer< DateTimeType > Ptr
The namespace for the internal API of QtXmlPatterns.
QExplicitlySharedDataPointer< NOTATIONType > Ptr
QExplicitlySharedDataPointer< SchemaTimeType > Ptr
QExplicitlySharedDataPointer< DayTimeDurationType > Ptr
virtual AtomicTypeVisitorResult::Ptr accept(const AtomicTypeVisitor::Ptr &visitor, const SourceLocationReflection *const reflection) const
QExplicitlySharedDataPointer< YearMonthDurationType > Ptr
Implements the type xs:anyURI.
Implements the type xs:gYearMonth.
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType AllCompOperators FloatType AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual GMonthDayType
Implements the type xs:date.
AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AtomicMathematician::Add DivMultiply FloatType
QExplicitlySharedDataPointer< DoubleType > Ptr
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 SchemaTimeType
virtual QString displayName(const NamePool::Ptr &np) const
Implements the type xs:decimal.
Implements the type xs:base64Binary.
#define Q_ASSERT_X(cond, where, what)
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
QExplicitlySharedDataPointer< DurationType > Ptr
QExplicitlySharedDataPointer< AnyURIType > Ptr
Implements the type xs:gMonthDay.
AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AllMathOperators AllMathOperators AtomicMathematician::Multiply AtomicMathematician::Add DecimalType
Implements the type xs:boolean.
QExplicitlySharedDataPointer< FloatType > Ptr
virtual AtomicTypeVisitorResult::Ptr accept(const AtomicTypeVisitor::Ptr &visitor, const SourceLocationReflection *const reflection) const
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType AllCompOperators FloatType AllCompOperators GYearType
Implements the type xs:NOTATION.
virtual SchemaType::Ptr wxsSuperType() const
Implements the type xs:hexBinary.
QExplicitlySharedDataPointer< GMonthDayType > Ptr
virtual QXmlName name(const NamePool::Ptr &np) const
Returns the name of the type.
Contains AtomicComparatorLocator sub-classes that finds classes which can compare atomic values...
virtual QString displayName(const NamePool::Ptr &np) const
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType AllCompOperators FloatType AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual GMonthType
Implements the type xs:duration.
Implements the type xs:gYear.
Implements the type xs:QName.
Implements the type xs:gMonth.
QExplicitlySharedDataPointer< GMonthType > Ptr
virtual bool isAbstract() const
QExplicitlySharedDataPointer< StringType > Ptr
Instances of this class represents types that are sub-classes of xs:anyAtomicType.
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType IntegerType
Base class for all instances that represents something at a certain location.