61 #define initType(var, cls) const cls::Ptr BuiltinTypes::var(new cls()) 66 #define initSType(var, cls) const SchemaType::Ptr BuiltinTypes::var(new cls()) 73 #define at(className, varName) const AtomicType::Ptr BuiltinTypes::varName(new className()); 95 #define it(className, varName) const ItemType::Ptr BuiltinTypes::varName(new className()); 105 #define dsType(varName, parent) \ 106 const AtomicType::Ptr BuiltinTypes::xs ## varName \ 107 (new DerivedStringType<Type ## varName>(BuiltinTypes::parent, \ 108 AtomicCasterLocator::Ptr(new ToDerivedStringCasterLocator<Type ## varName>()))) 110 dsType(NormalizedString, xsString);
111 dsType(Token, xsNormalizedString);
112 dsType(Language, xsToken);
124 #define iType(varName, parent) \ 125 const AtomicType::Ptr BuiltinTypes::xs ## varName \ 126 (new DerivedIntegerType<Type ## varName>(parent, \ 127 AtomicCasterLocator::Ptr(new ToDerivedIntegerCasterLocator<Type ## varName>()))) 131 iType(NegativeInteger, xsNonPositiveInteger);
135 iType(Byte, xsShort);
137 iType(UnsignedLong, xsNonNegativeInteger);
138 iType(UnsignedInt, xsUnsignedLong);
139 iType(UnsignedShort, xsUnsignedInt);
140 iType(UnsignedByte, xsUnsignedShort);
141 iType(PositiveInteger, xsNonNegativeInteger);
148 #define nt(var, enu) const ItemType::Ptr BuiltinTypes::var = \ 149 ItemType::Ptr(new BuiltinNodeType<QXmlNodeModelIndex::enu>()) 152 nt(attribute, Attribute);
156 nt(pi, ProcessingInstruction);
Implements the type xs:gDay.
Implements the type xs:anyAtomicType.
Implements the type xs:yearMonthDuration.
#define QT_END_NAMESPACE
This macro expands to.
Represents the complex W3C XML Schema type xs:untyped.
Represents the node() item type.
xsAnyAtomicType numeric xsDuration xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsGYearMonth
#define iType(varName, parent)
xsAnyAtomicType numeric xsDuration xsAnyAtomicType xsTime
Implements the type xs:float.
#define at(className, varName)
xsAnyAtomicType numeric xsDuration xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsGDay
Implements the type xs:time.
Implements the type xs:untypedAtomic.
Implements the type xs:double.
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
Implements the type xs:dateTime.
Represents the internal and abstract type fs:numeric.
Implements the type xs:dayTimeDuration.
#define initSType(var, cls)
static const AtomicType::Ptr xsString
#define QT_BEGIN_NAMESPACE
This macro expands to.
xsAnyAtomicType numeric xsDuration xsDate
static const ItemType::Ptr xsltNodeTest
xsAnyAtomicType numeric xsDuration xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsGMonthDay
Represents the xs:anySimpleType item type.
The namespace for the internal API of QtXmlPatterns.
#define dsType(varName, parent)
Implements the type xs:anyURI.
Implements the type xs:gYearMonth.
Implements the type xs:date.
Implements the type xs:decimal.
Implements the type xs:base64Binary.
xsAnyAtomicType numeric xsDuration xsAnyAtomicType xsAnyAtomicType xsBoolean
Implements the type xs:gMonthDay.
xsAnyAtomicType numeric xsDuration xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsAnyAtomicType xsQName
Implements the type xs:boolean.
static const AtomicType::Ptr xsInteger
Represents the xs:anyType item type.
Implements the type xs:NOTATION.
Implements the type xs:hexBinary.
static const AtomicType::Ptr xsDecimal
static const AtomicType::Ptr xsAnyAtomicType
xsAnyAtomicType numeric xsDayTimeDuration
#define initType(var, cls)
Implements the type xs:duration.
Implements the type xs:gYear.
Implements the type xs:QName.
Implements the type xs:gMonth.
Represents the item() item type.
AllCompOperators AtomicComparator::OperatorEqual AtomicComparator::OperatorNotEqual AllCompOperators FloatType IntegerType FloatType IntegerType FloatType IntegerType
The Text item allows you to add formatted text to a scene.
Represents node() in patterns in XSL-T, which are just like how node() usually is, except that it doesn't match document nodes.