Qt 4.8
|
#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 QXmlName | name (const NamePool::Ptr &np) const |
Returns the name of the type. More... | |
Public Functions inherited from QPatternist::BuiltinAtomicType | |
virtual AtomicCasterLocator::Ptr | casterLocator () const |
virtual AtomicComparatorLocator::Ptr | comparatorLocator () const |
virtual bool | isAbstract () const |
virtual AtomicMathematicianLocator::Ptr | mathematicianLocator () const |
virtual SchemaType::Ptr | wxsSuperType () const |
virtual ItemType::Ptr | xdtSuperType () 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 | |
StringType (const AtomicType::Ptr &parentType, const AtomicCasterLocator::Ptr &casterLoc) | |
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... | |
Represents the xs:string type and all derived types of xs:string, such as xs:token.
StringType instances are used for representing all different string types. The purpose of this is that xs:string sub-types must use the class, StringType, in order to use the correct behavior in call dispatch situations. That is, all xs:string sub-types must use the same AtomicComparator as xs:string itself uses, and that is achieved this way.
Definition at line 687 of file qbuiltinatomictypes_p.h.
Definition at line 690 of file qbuiltinatomictypes_p.h.
|
protected |
Definition at line 130 of file qbuiltinatomictypes.cpp.
|
virtual |
Reimplemented in QPatternist::DerivedStringType< derivedType >.
|
virtual |
Implements QPatternist::AtomicType.
|
virtual |
Reimplemented from QPatternist::AtomicType.
Reimplemented in QPatternist::DerivedStringType< derivedType >.
|
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.
Reimplemented in QPatternist::DerivedStringType< derivedType >.
|
friend |
Definition at line 701 of file qbuiltinatomictypes_p.h.