52 #ifndef Patternist_ItemType_H 53 #define Patternist_ItemType_H 55 #include <QSharedData> 57 #include <QtXmlPatterns/private/qnamepool_p.h> 63 template<
typename T>
class QList;
253 return ItemType::Ptr(const_cast<ItemType *>(&(*op1 | *op2)));
258 return this != &other;
virtual InstanceOf instanceOf() const
#define QT_END_NAMESPACE
This macro expands to.
virtual bool operator==(const ItemType &other) const
virtual bool itemMatches(const Item &item) const =0
bool operator!=(const ItemType &other) const
ItemType::Ptr operator|(const ItemType::Ptr &op1, const ItemType::Ptr &op2)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
virtual const ItemType & operator|(const ItemType &other) const
void operator|=(ItemType::Ptr &op1, const ItemType::Ptr &op2)
Computes the union type of op1 and op2, and assigns it to op1.
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual QString displayName(const NamePool::Ptr &np) const =0
The namespace for the internal API of QtXmlPatterns.
The Item is the most basic of all visual items in QML.
virtual ItemType::Ptr xdtSuperType() const =0
QList< ItemType::Ptr > List
QExplicitlySharedDataPointer< ItemType > Ptr
virtual bool isNodeType() const =0
Base class for the XPath Data Model's type hierarchy.
Represents an item in the XPath 2.0 Data Model.
The QSharedData class is a base class for shared data objects.
virtual bool isAtomicType() const =0
virtual bool xdtTypeMatches(const ItemType::Ptr &other) const =0
Returns true if other matches this type. That is, if other is equal to this type or a subtype of this...
virtual ItemType::Ptr atomizedType() const =0
Q_DECLARE_TYPEINFO(QPatternist::ItemType::Ptr, Q_MOVABLE_TYPE)
virtual Category itemTypeCategory() const
The QList class is a template class that provides lists.