Qt 4.8
|
Base class for all classes that implements atomic types. More...
#include <qatomictype_p.h>
Public Functions | |
virtual AtomicTypeVisitorResult::Ptr | accept (const QExplicitlySharedDataPointer< AtomicTypeVisitor > &visitor, const SourceLocationReflection *const) const =0 |
virtual AtomicTypeVisitorResult::Ptr | accept (const ParameterizedAtomicTypeVisitor::Ptr &visitor, const qint16 param, const SourceLocationReflection *const) const =0 |
virtual ItemType::Ptr | atomizedType () const |
virtual AtomicCasterLocator::Ptr | casterLocator () const =0 |
virtual TypeCategory | category () const |
virtual AtomicComparatorLocator::Ptr | comparatorLocator () const =0 |
virtual DerivationMethod | derivationMethod () const |
virtual QString | displayName (const NamePool::Ptr &np) const |
virtual bool | isAtomicType () const |
virtual bool | isNodeType () const |
virtual bool | itemMatches (const Item &item) const |
virtual AtomicMathematicianLocator::Ptr | mathematicianLocator () const =0 |
virtual bool | xdtTypeMatches (const ItemType::Ptr &other) const |
virtual | ~AtomicType () |
Public Functions inherited from QPatternist::ItemType | |
virtual InstanceOf | instanceOf () const |
ItemType () | |
virtual Category | itemTypeCategory () const |
bool | operator!= (const ItemType &other) const |
virtual bool | operator== (const ItemType &other) const |
virtual const ItemType & | operator| (const ItemType &other) const |
virtual ItemType::Ptr | xdtSuperType () const =0 |
virtual | ~ItemType () |
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... | |
Public Functions inherited from QPatternist::AnySimpleType | |
virtual bool | isComplexType () const |
virtual bool | isSimpleType () const |
virtual QXmlName | name (const NamePool::Ptr &np) const |
Returns the name of the type. More... | |
virtual SchemaType::Ptr | wxsSuperType () const |
virtual | ~AnySimpleType () |
Public Functions inherited from QPatternist::AnyType | |
virtual DerivationConstraints | derivationConstraints () const |
virtual bool | isAbstract () const |
virtual bool | wxsTypeMatches (const SchemaType::Ptr &other) const |
virtual | ~AnyType () |
Public Functions inherited from QPatternist::SchemaType | |
virtual bool | isDefinedBySchema () const |
SchemaType () | |
virtual | ~SchemaType () |
Public Functions inherited from QPatternist::SchemaComponent | |
SchemaComponent () | |
virtual | ~SchemaComponent () |
Protected Functions | |
AtomicType () | |
Protected Functions inherited from QPatternist::AnySimpleType | |
AnySimpleType () | |
Protected Functions inherited from QPatternist::AnyType | |
AnyType () | |
This constructor is protected, because this class must be sub-classed. More... | |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Related Functions inherited from QPatternist::ItemType | |
ItemType::Ptr | operator| (const ItemType::Ptr &op1, const ItemType::Ptr &op2) |
void | operator|= (ItemType::Ptr &op1, const ItemType::Ptr &op2) |
Computes the union type of op1 and op2 , and assigns it to op1 . More... | |
Base class for all classes that implements atomic types.
AtomicType does not implement xs:anyAtomicType
, it is the C++ base class for classes that implement atomic types, such as xs:anyAtomicType
.
Definition at line 80 of file qatomictype_p.h.
Definition at line 85 of file qatomictype_p.h.
|
virtual |
Definition at line 58 of file qatomictype.cpp.
|
protected |
Definition at line 54 of file qatomictype.cpp.
|
pure virtual |
|
pure virtual |
Implemented in QPatternist::NOTATIONType, QPatternist::StringType, QPatternist::QNameType, QPatternist::AnyURIType, QPatternist::HexBinaryType, QPatternist::Base64BinaryType, QPatternist::BooleanType, QPatternist::GMonthType, QPatternist::GDayType, QPatternist::GMonthDayType, QPatternist::GYearType, QPatternist::GYearMonthType, QPatternist::IntegerType, QPatternist::DecimalType, QPatternist::FloatType, QPatternist::DoubleType, QPatternist::DayTimeDurationType, QPatternist::YearMonthDurationType, QPatternist::DurationType, QPatternist::SchemaTimeType, QPatternist::DateType, QPatternist::DateTimeType, QPatternist::NumericType, QPatternist::UntypedAtomicType, and QPatternist::AnyAtomicType.
|
virtual |
Implements QPatternist::ItemType.
Reimplemented in QPatternist::NumericType.
Definition at line 87 of file qatomictype.cpp.
|
pure virtual |
Implemented in QPatternist::NumericType, and QPatternist::BuiltinAtomicType.
|
virtual |
Reimplemented from QPatternist::AnySimpleType.
Definition at line 108 of file qatomictype.cpp.
|
pure virtual |
Implemented in QPatternist::NumericType, and QPatternist::BuiltinAtomicType.
|
virtual |
Reimplemented from QPatternist::AnySimpleType.
Definition at line 113 of file qatomictype.cpp.
|
virtual |
Reimplemented from QPatternist::AnySimpleType.
Reimplemented in QPatternist::NOTATIONType, QPatternist::DerivedStringType< derivedType >, QPatternist::StringType, QPatternist::QNameType, QPatternist::AnyURIType, QPatternist::HexBinaryType, QPatternist::Base64BinaryType, QPatternist::BooleanType, QPatternist::GMonthType, QPatternist::GDayType, QPatternist::GMonthDayType, QPatternist::GYearType, QPatternist::GYearMonthType, QPatternist::DerivedIntegerType< derivedType >, QPatternist::IntegerType, QPatternist::DecimalType, QPatternist::FloatType, QPatternist::DoubleType, QPatternist::DayTimeDurationType, QPatternist::YearMonthDurationType, QPatternist::DurationType, QPatternist::SchemaTimeType, QPatternist::DateType, QPatternist::DateTimeType, QPatternist::UntypedAtomicType, QPatternist::AnyAtomicType, and QPatternist::NumericType.
Definition at line 92 of file qatomictype.cpp.
|
virtual |
returns always true
Implements QPatternist::ItemType.
Reimplemented in QPatternist::NumericType.
Definition at line 103 of file qatomictype.cpp.
|
virtual |
returns always false
Implements QPatternist::ItemType.
Reimplemented in QPatternist::NumericType.
Definition at line 98 of file qatomictype.cpp.
|
virtual |
Implements a generic algorithm which relies on wxsTypeMatches().
true
depending on if item
is an atomic type, and that AtomicValue::itemType()'s SequenceType::itemType() matches this type. Implements QPatternist::ItemType.
Reimplemented in QPatternist::NumericType.
Definition at line 75 of file qatomictype.cpp.
|
pure virtual |
Implemented in QPatternist::NumericType, and QPatternist::BuiltinAtomicType.
|
virtual |
Determines whether other
is equal to this type, or is a sub-type of this type.
The implementation is generic, relying on operator==() and xdtSuperType().
Implements QPatternist::ItemType.
Reimplemented in QPatternist::NumericType.
Definition at line 62 of file qatomictype.cpp.