Qt 4.8
|
Implements the type xs:anyAtomicType
.
More...
#include <qbuiltinatomictypes_p.h>
Public Functions | |
virtual AtomicTypeVisitorResult::Ptr | accept (const AtomicTypeVisitor::Ptr &visitor, const SourceLocationReflection *const reflection) const |
virtual AtomicTypeVisitorResult::Ptr | accept (const ParameterizedAtomicTypeVisitor::Ptr &visitor, const qint16 op, const SourceLocationReflection *const reflection) const |
virtual QString | displayName (const NamePool::Ptr &np) const |
virtual bool | isAbstract () const |
virtual QXmlName | name (const NamePool::Ptr &np) const |
Returns the name of the type. More... | |
virtual SchemaType::Ptr | wxsSuperType () const |
virtual ItemType::Ptr | xdtSuperType () const |
Public Functions inherited from QPatternist::BuiltinAtomicType | |
virtual AtomicCasterLocator::Ptr | casterLocator () const |
virtual AtomicComparatorLocator::Ptr | comparatorLocator () const |
virtual AtomicMathematicianLocator::Ptr | mathematicianLocator () const |
Public Functions inherited from QPatternist::AtomicType | |
virtual AtomicTypeVisitorResult::Ptr | accept (const QExplicitlySharedDataPointer< AtomicTypeVisitor > &visitor, const SourceLocationReflection *const) const =0 |
virtual ItemType::Ptr | atomizedType () const |
virtual TypeCategory | category () const |
virtual DerivationMethod | derivationMethod () const |
virtual bool | isAtomicType () const |
virtual bool | isNodeType () const |
virtual bool | itemMatches (const Item &item) const |
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 () |
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 | ~AnySimpleType () |
Public Functions inherited from QPatternist::AnyType | |
virtual DerivationConstraints | derivationConstraints () 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 | |
AnyAtomicType () | |
Protected Functions inherited from QPatternist::BuiltinAtomicType | |
BuiltinAtomicType (const AtomicType::Ptr &baseType, const AtomicComparatorLocator::Ptr &comp, const AtomicMathematicianLocator::Ptr &mather, const AtomicCasterLocator::Ptr &casterLocator) | |
Protected Functions inherited from QPatternist::AtomicType | |
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... | |
Friends | |
class | BuiltinTypes |
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... | |
Implements the type xs:anyAtomicType
.
Definition at line 72 of file qbuiltinatomictypes_p.h.
Definition at line 75 of file qbuiltinatomictypes_p.h.
|
protected |
|
virtual |
|
virtual |
Implements QPatternist::AtomicType.
|
virtual |
Reimplemented from QPatternist::AtomicType.
|
virtual |
Overridden to return true
, xs:anyAtomicType
is abstract.
true
Reimplemented from QPatternist::BuiltinAtomicType.
Referenced by implAccept().
|
virtual |
Returns the name of the type.
The reason to why we take the name pool argument, is that the basic types, xs:anySimpleType
and so on, are stored globally in BuiltinTypes and ComonSequenceTypes, and therefore cannot be tied to a certain name pool. Type instances that knows they always will be used with a certain name pool, can therefore ignore np
and return a QXmlName instance stored as a member.
If the type code was refactored to not be store globally and therefore by design would be tied to a name pool, this argument could be removed.
Reimplemented from QPatternist::AnySimpleType.
Referenced by QPatternist::DerivedIntegerType< derivedType >::displayName(), and QPatternist::DerivedStringType< derivedType >::displayName().
|
virtual |
Overridden to return xs:anySimpleType
.
Reimplemented from QPatternist::BuiltinAtomicType.
Referenced by implAccept().
|
virtual |
Overridden to return item()
.
Reimplemented from QPatternist::BuiltinAtomicType.
|
friend |
Definition at line 107 of file qbuiltinatomictypes_p.h.