Qt 4.8
|
Represents the empty-sequence()
type.
More...
#include <qemptysequencetype_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< EmptySequenceType > | Ptr |
Public Types inherited from QPatternist::ItemType | |
enum | Category { NodeNameTest = 1, Other = 2 } |
enum | InstanceOf { ClassLocalNameTest, ClassNamespaceNameTest, ClassQNameTest, ClassOther } |
typedef QList< ItemType::Ptr > | List |
typedef QExplicitlySharedDataPointer< ItemType > | Ptr |
Public Types inherited from QPatternist::SequenceType | |
typedef QList< SequenceType::Ptr > | List |
typedef QExplicitlySharedDataPointer< const SequenceType > | Ptr |
Public Functions | |
virtual ItemType::Ptr | atomizedType () const |
virtual Cardinality | cardinality () 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 ItemType::Ptr | itemType () const |
virtual ItemType::Ptr | xdtSuperType () const |
virtual bool | xdtTypeMatches (const ItemType::Ptr &other) const |
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::SequenceType | |
bool | is (const SequenceType::Ptr &other) const |
bool | matches (const SequenceType::Ptr other) const |
SequenceType () | |
virtual | ~SequenceType () |
Protected Functions | |
EmptySequenceType () | |
Friends | |
class | CommonSequenceTypes |
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 empty-sequence()
type.
Definition at line 71 of file qemptysequencetype_p.h.
Definition at line 75 of file qemptysequencetype_p.h.
|
protected |
Definition at line 51 of file qemptysequencetype.cpp.
|
virtual |
xs:anyAtomicType
Implements QPatternist::ItemType.
Definition at line 96 of file qemptysequencetype.cpp.
|
virtual |
Implements QPatternist::SequenceType.
Definition at line 76 of file qemptysequencetype.cpp.
|
virtual |
Implements QPatternist::ItemType.
Definition at line 66 of file qemptysequencetype.cpp.
|
virtual |
Implements QPatternist::ItemType.
Definition at line 91 of file qemptysequencetype.cpp.
|
virtual |
Implements QPatternist::ItemType.
Definition at line 86 of file qemptysequencetype.cpp.
|
virtual |
false
Implements QPatternist::ItemType.
Definition at line 61 of file qemptysequencetype.cpp.
|
virtual |
Implements QPatternist::SequenceType.
Definition at line 81 of file qemptysequencetype.cpp.
|
virtual |
Determines the type's parent type in the XPath Data Model hierarchy. For example, for the type xs:anyAtomicType, the super type in the XPath Data Model is item(), not xs:anySimpleType. SchemaType::xdtSuperType navigates the schema hierarchy.
Implements QPatternist::ItemType.
Definition at line 71 of file qemptysequencetype.cpp.
|
virtual |
Possibly surprisingly, this function also returns true for the none
type.
true
if other
is NoneType or EmptySequenceType, otherwise false
. Implements QPatternist::ItemType.
Definition at line 55 of file qemptysequencetype.cpp.
|
friend |
Definition at line 115 of file qemptysequencetype_p.h.