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 >::EmptyRowGenerator Struct Reference

#include <qrangemodel_impl.h>

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

Public Types

using value_type = row_type
using reference = value_type
using pointer = value_type *
using iterator_category = std::input_iterator_tag
using difference_type = int

Public Member Functions

value_type operator* ()
EmptyRowGeneratoroperator++ ()

Public Attributes

difference_type n = 0
Structure * impl = nullptr
const row_ptr parentRow = nullptr

Friends

bool operator== (const EmptyRowGenerator &lhs, const EmptyRowGenerator &rhs) noexcept
bool operator!= (const EmptyRowGenerator &lhs, const EmptyRowGenerator &rhs) noexcept

Detailed Description

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

Definition at line 1181 of file qrangemodel_impl.h.

Member Typedef Documentation

◆ difference_type

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::difference_type = int

Definition at line 1187 of file qrangemodel_impl.h.

◆ iterator_category

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

Definition at line 1186 of file qrangemodel_impl.h.

◆ pointer

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::pointer = value_type *

Definition at line 1185 of file qrangemodel_impl.h.

◆ reference

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::reference = value_type

Definition at line 1184 of file qrangemodel_impl.h.

◆ value_type

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
using QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::value_type = row_type

Definition at line 1183 of file qrangemodel_impl.h.

Member Function Documentation

◆ operator*()

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
value_type QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::operator* ( )
inline

Definition at line 1189 of file qrangemodel_impl.h.

◆ operator++()

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

Definition at line 1190 of file qrangemodel_impl.h.

References n.

◆ operator!=

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
bool operator!= ( const EmptyRowGenerator & lhs,
const EmptyRowGenerator & rhs )
friend

Definition at line 1193 of file qrangemodel_impl.h.

◆ operator==

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
bool operator== ( const EmptyRowGenerator & lhs,
const EmptyRowGenerator & rhs )
friend

Definition at line 1191 of file qrangemodel_impl.h.

Member Data Documentation

◆ impl

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
Structure* QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::impl = nullptr

Definition at line 1197 of file qrangemodel_impl.h.

◆ n

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
difference_type QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::n = 0

Definition at line 1196 of file qrangemodel_impl.h.

Referenced by operator++().

◆ parentRow

template<typename Structure, typename Range, typename Protocol = QRangeModelDetails::table_protocol_t<Range>>
const row_ptr QRangeModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::parentRow = nullptr

Definition at line 1198 of file qrangemodel_impl.h.


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