Qt 4.8
Classes | Namespaces | Typedefs | Functions
qabstractxmlnodemodel.h File Reference
#include <QtXmlPatterns/QXmlName>
#include <QtCore/QSharedData>
#include <QtCore/QScopedPointer>

Go to the source code of this file.

Classes

class  QAbstractXmlForwardIterator< T >
 The QAbstractXmlForwardIterator class is a base class for forward iterators. More...
 
class  QAbstractXmlForwardIterator< T >
 The QAbstractXmlForwardIterator class is a base class for forward iterators. More...
 
class  QAbstractXmlNodeModel
 The QAbstractXmlNodeModel class is an abstract base class for modeling non-XML data to look like XML for QXmlQuery. More...
 
class  QPatternist::ItemMappingIterator< TResult, TSource, TMapper, Context >
 Proxies another QAbstractXmlForwardIterator, and for each item, returns the Item returned from a mapping function. More...
 
class  QPatternist::NodeIndexStorage
 
class  QPatternist::SequenceMappingIterator< TResult, TSource, TMapper >
 Proxies another QAbstractXmlForwardIterator, and for each item, returns the Sequence returned from a mapping function. More...
 
class  QVector< T >
 The QVector class is a template class that provides a dynamic array. More...
 
class  QXmlItem
 The QXmlItem class contains either an XML node or an atomic value. More...
 
class  QXmlNodeModelIndex
 The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeModel. More...
 

Namespaces

 QPatternist
 The namespace for the internal API of QtXmlPatterns.
 

Typedefs

typedef QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< Item > > QPatternist::ItemIteratorPtr
 
typedef QExplicitlySharedDataPointer< ItemType > QPatternist::ItemTypePtr
 
typedef QVector< QXmlNameQPatternist::QXmlNameVector
 

Functions

 Q_DECLARE_TYPEINFO (QXmlNodeModelIndex, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QXmlItem, Q_MOVABLE_TYPE)
 
Q_XMLPATTERNS_EXPORT uint qHash (const QXmlNodeModelIndex &index)
 
bool qIsForwardIteratorEnd (const QXmlNodeModelIndex &item)
 
bool qIsForwardIteratorEnd (const QXmlItem &item)
 

Function Documentation

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( QXmlNodeModelIndex  ,
Q_MOVABLE_TYPE   
)

Referenced by qIsForwardIteratorEnd().

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( QXmlItem  ,
Q_MOVABLE_TYPE   
)

◆ qHash()

Q_XMLPATTERNS_EXPORT uint qHash ( const QXmlNodeModelIndex index)
related

◆ qIsForwardIteratorEnd() [1/2]

bool qIsForwardIteratorEnd ( const QXmlNodeModelIndex item)
inline

Definition at line 266 of file qabstractxmlnodemodel.h.

267 {
268  return item.isNull();
269 }
bool isNull() const
Returns true if this QXmlNodeModelIndex is a default constructed value, otherwise false...

◆ qIsForwardIteratorEnd() [2/2]

bool qIsForwardIteratorEnd ( const QXmlItem item)
inline

Definition at line 421 of file qabstractxmlnodemodel.h.

422 {
423  return item.isNull();
424 }
bool isNull() const
Returns true if this QXmlItem is neither a node nor an atomic value.