![]() |
Qt 4.8
|
Represents the complex W3C XML Schema type xs:untyped.
More...
#include <quntyped_p.h>
Public Types | |
| typedef QExplicitlySharedDataPointer< Untyped > | Ptr |
Public Types inherited from QPatternist::AnyType | |
| typedef QExplicitlySharedDataPointer< AnyType > | Ptr |
Public Types inherited from QPatternist::SchemaType | |
| enum | DerivationConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, ListConstraint = 4, UnionConstraint = 8 } |
| enum | DerivationMethod { DerivationRestriction = 1, DerivationExtension = 2, DerivationUnion = 4, DerivationList = 8, NoDerivation = 16 } |
| typedef QHash< QXmlName, SchemaType::Ptr > | Hash |
| typedef QList< SchemaType::Ptr > | List |
| typedef QExplicitlySharedDataPointer< SchemaType > | Ptr |
| enum | TypeCategory { None = 0, SimpleTypeAtomic, SimpleTypeList, SimpleTypeUnion, ComplexType } |
Public Functions | |
| virtual ItemType::Ptr | atomizedType () const |
| virtual TypeCategory | category () const |
| virtual DerivationMethod | derivationMethod () const |
| virtual QXmlName | name (const NamePool::Ptr &np) const |
| Returns the name of the type. More... | |
| virtual SchemaType::Ptr | wxsSuperType () const |
Public Functions inherited from QPatternist::AnyType | |
| virtual DerivationConstraints | derivationConstraints () const |
| virtual QString | displayName (const NamePool::Ptr &np) const |
| virtual bool | isAbstract () const |
| virtual bool | isComplexType () const |
| virtual bool | wxsTypeMatches (const SchemaType::Ptr &other) const |
| virtual | ~AnyType () |
Public Functions inherited from QPatternist::SchemaType | |
| virtual bool | isDefinedBySchema () const |
| virtual bool | isSimpleType () const |
| SchemaType () | |
| virtual | ~SchemaType () |
Public Functions inherited from QPatternist::SchemaComponent | |
| SchemaComponent () | |
| virtual | ~SchemaComponent () |
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... | |
Protected Functions | |
| Untyped () | |
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 |
Represents the complex W3C XML Schema type xs:untyped.
Definition at line 73 of file quntyped_p.h.
Definition at line 77 of file quntyped_p.h.
|
protected |
Definition at line 50 of file quntyped.cpp.
|
virtual |
xs:untypedAtomic Definition at line 64 of file quntyped.cpp.
|
virtual |
Reimplemented from QPatternist::AnyType.
Definition at line 69 of file quntyped.cpp.
|
virtual |
Reimplemented from QPatternist::AnyType.
Definition at line 74 of file quntyped.cpp.
|
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::AnyType.
Definition at line 59 of file quntyped.cpp.
|
virtual |
Reimplemented from QPatternist::AnyType.
Definition at line 54 of file quntyped.cpp.
|
friend |
Definition at line 102 of file quntyped_p.h.