Qt 4.8
|
Instances of this class represents types that are sub-classes of xs:anyAtomicType
.
More...
#include <qbuiltinatomictype_p.h>
Public Functions | |
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 AtomicTypeVisitorResult::Ptr | accept (const ParameterizedAtomicTypeVisitor::Ptr &visitor, const qint16 param, const SourceLocationReflection *const) const =0 |
virtual ItemType::Ptr | atomizedType () const |
virtual TypeCategory | category () const |
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 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 QXmlName | name (const NamePool::Ptr &np) const |
Returns the name of the type. More... | |
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 | |
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... | |
Properties | |
const AtomicCasterLocator::Ptr | m_casterLocator |
const AtomicComparatorLocator::Ptr | m_comparatorLocator |
const AtomicMathematicianLocator::Ptr | m_mathematicianLocator |
const AtomicType::Ptr | m_superType |
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... | |
Instances of this class represents types that are sub-classes of xs:anyAtomicType
.
Retrieving instances of builtin types is done via BuiltinTypesFactory::createSchemaType(), not by instantiating this class manually.
Definition at line 75 of file qbuiltinatomictype_p.h.
Definition at line 79 of file qbuiltinatomictype_p.h.
|
protected |
baseType | the type that is the super type of the constructed atomic type. In the case of AnyAtomicType, null is passed. |
comp | the AtomicComparatorLocator this type should return. May be null . |
mather | similar to comp , this is the AtomicMathematicianLocator that's appropriate for this type May be null . |
casterLocator | the CasterLocator that locates classes performing casting with this type. May be null . |
Definition at line 53 of file qbuiltinatomictype.cpp.
|
virtual |
Implements QPatternist::AtomicType.
Definition at line 89 of file qbuiltinatomictype.cpp.
|
virtual |
Implements QPatternist::AtomicType.
Definition at line 79 of file qbuiltinatomictype.cpp.
|
virtual |
false
Reimplemented from QPatternist::AnyType.
Reimplemented in QPatternist::NOTATIONType, and QPatternist::AnyAtomicType.
Definition at line 74 of file qbuiltinatomictype.cpp.
|
virtual |
Implements QPatternist::AtomicType.
Definition at line 84 of file qbuiltinatomictype.cpp.
|
virtual |
Reimplemented from QPatternist::AnySimpleType.
Reimplemented in QPatternist::AnyAtomicType.
Definition at line 64 of file qbuiltinatomictype.cpp.
|
virtual |
xs:anyAtomicType
, which returns item() Implements QPatternist::ItemType.
Reimplemented in QPatternist::AnyAtomicType.
Definition at line 69 of file qbuiltinatomictype.cpp.
|
friend |
Definition at line 102 of file qbuiltinatomictype_p.h.
|
private |
Definition at line 122 of file qbuiltinatomictype_p.h.
Referenced by casterLocator().
|
private |
Definition at line 120 of file qbuiltinatomictype_p.h.
Referenced by comparatorLocator().
|
private |
Definition at line 121 of file qbuiltinatomictype_p.h.
Referenced by mathematicianLocator().
|
private |
Definition at line 119 of file qbuiltinatomictype_p.h.
Referenced by wxsSuperType(), and xdtSuperType().