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
QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator Struct Reference

#include <qgenericitemmodel_impl.h>

+ Collaboration diagram for QGenericItemModelImpl< 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 QModelIndexparent = 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 = QGenericItemModelDetails::table_protocol_t<Range>>
struct QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator

Definition at line 745 of file qgenericitemmodel_impl.h.

Member Typedef Documentation

◆ difference_type

template<typename Structure, typename Range, typename Protocol = QGenericItemModelDetails::table_protocol_t<Range>>
using QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::difference_type = int

Definition at line 751 of file qgenericitemmodel_impl.h.

◆ iterator_category

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

Definition at line 750 of file qgenericitemmodel_impl.h.

◆ pointer

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

Definition at line 749 of file qgenericitemmodel_impl.h.

◆ reference

template<typename Structure, typename Range, typename Protocol = QGenericItemModelDetails::table_protocol_t<Range>>
using QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::reference = value_type

Definition at line 748 of file qgenericitemmodel_impl.h.

◆ value_type

template<typename Structure, typename Range, typename Protocol = QGenericItemModelDetails::table_protocol_t<Range>>
using QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::value_type = row_type

Definition at line 747 of file qgenericitemmodel_impl.h.

Member Function Documentation

◆ operator*()

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

Definition at line 753 of file qgenericitemmodel_impl.h.

◆ operator++()

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

Definition at line 754 of file qgenericitemmodel_impl.h.

References n.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 757 of file qgenericitemmodel_impl.h.

◆ operator==

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

Definition at line 755 of file qgenericitemmodel_impl.h.

Member Data Documentation

◆ impl

template<typename Structure, typename Range, typename Protocol = QGenericItemModelDetails::table_protocol_t<Range>>
Structure* QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::impl = nullptr

Definition at line 761 of file qgenericitemmodel_impl.h.

◆ n

template<typename Structure, typename Range, typename Protocol = QGenericItemModelDetails::table_protocol_t<Range>>
difference_type QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::n = 0

Definition at line 760 of file qgenericitemmodel_impl.h.

Referenced by operator++().

◆ parent

template<typename Structure, typename Range, typename Protocol = QGenericItemModelDetails::table_protocol_t<Range>>
const QModelIndex* QGenericItemModelImpl< Structure, Range, Protocol >::EmptyRowGenerator::parent = nullptr

Definition at line 762 of file qgenericitemmodel_impl.h.


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