Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator Struct Reference

#include <qrangemodel_impl.h>

Collaboration diagram for QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator:

Public Types

using base_iterator = QModelIndexList::const_iterator
using difference_type = typename base_iterator::difference_type
using iterator_category = std::bidirectional_iterator_tag
using value_type = QRangeModelDetails::MimeDataEntry<const_row_reference>
using const_reference = value_type

Public Member Functions

 MimeDataRowIterator ()=default
 MimeDataRowIterator (base_iterator it, base_iterator begin, base_iterator end, const QRangeModelImpl *model)
const_reference operator* () const
MimeDataRowIteratoroperator++ ()
MimeDataRowIterator operator++ (int)
MimeDataRowIteratoroperator-- ()
MimeDataRowIterator operator-- (int)
MimeDataRowIterator operator- (difference_type n) const
bool operator== (const MimeDataRowIterator &other) const
bool operator!= (const MimeDataRowIterator &other) const

Detailed Description

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
struct QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator

Definition at line 3053 of file qrangemodel_impl.h.

Member Typedef Documentation

◆ base_iterator

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::base_iterator = QModelIndexList::const_iterator

Definition at line 3055 of file qrangemodel_impl.h.

◆ const_reference

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::const_reference = value_type

Definition at line 3060 of file qrangemodel_impl.h.

◆ difference_type

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::difference_type = typename base_iterator::difference_type

Definition at line 3056 of file qrangemodel_impl.h.

◆ iterator_category

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 3057 of file qrangemodel_impl.h.

◆ value_type

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::value_type = QRangeModelDetails::MimeDataEntry<const_row_reference>

Definition at line 3058 of file qrangemodel_impl.h.

Constructor & Destructor Documentation

◆ MimeDataRowIterator() [1/2]

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::MimeDataRowIterator ( )
default

◆ MimeDataRowIterator() [2/2]

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::MimeDataRowIterator ( base_iterator it,
base_iterator begin,
base_iterator end,
const QRangeModelImpl * model )
inline

Definition at line 3064 of file qrangemodel_impl.h.

References MimeDataRowIterator().

Referenced by MimeDataRowIterator().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ operator!=()

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
bool QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator!= ( const MimeDataRowIterator & other) const
inline

Definition at line 3112 of file qrangemodel_impl.h.

◆ operator*()

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
const_reference QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator* ( ) const
inline

Definition at line 3072 of file qrangemodel_impl.h.

◆ operator++() [1/2]

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
MimeDataRowIterator & QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator++ ( )
inline

Definition at line 3080 of file qrangemodel_impl.h.

◆ operator++() [2/2]

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
MimeDataRowIterator QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator++ ( int )
inline

Definition at line 3088 of file qrangemodel_impl.h.

◆ operator-()

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
MimeDataRowIterator QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator- ( difference_type n) const
inline

Definition at line 3106 of file qrangemodel_impl.h.

◆ operator--() [1/2]

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
MimeDataRowIterator & QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator-- ( )
inline

Definition at line 3090 of file qrangemodel_impl.h.

◆ operator--() [2/2]

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
MimeDataRowIterator QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator-- ( int )
inline

Definition at line 3104 of file qrangemodel_impl.h.

◆ operator==()

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
bool QRangeModelImpl< Structure, Range, Protocol >::MimeDataRowIterator::operator== ( const MimeDataRowIterator & other) const
inline

Definition at line 3111 of file qrangemodel_impl.h.


The documentation for this struct was generated from the following file: