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
qrangemodeladapter.h File Reference

(6a153a3e4fa136372dcfda9a773909d04069c3d4)

#include <QtCore/qrangemodeladapter_impl.h>
#include <QtCore/q26numeric.h>
#include <QtCore/qttypetraits.h>
Include dependency graph for qrangemodeladapter.h:

Go to the source code of this file.

Classes

class  QRangeModelAdapter< Range, Protocol, Model >
struct  QRangeModelAdapter< Range, Protocol, Model >::DataReference
struct  QRangeModelAdapter< Range, Protocol, Model >::ColumnIteratorBase< Iterator, Adapter >
struct  QRangeModelAdapter< Range, Protocol, Model >::ConstColumnIterator
struct  QRangeModelAdapter< Range, Protocol, Model >::ColumnIterator
struct  QRangeModelAdapter< Range, Protocol, Model >::RowGetter< Reference, const_row_type, bool, bool >
struct  QRangeModelAdapter< Range, Protocol, Model >::RowGetter< Reference, const_row_type, true, false >
struct  QRangeModelAdapter< Range, Protocol, Model >::RowGetter< Reference, const_row_type, false, true >
struct  QRangeModelAdapter< Range, Protocol, Model >::RowReferenceBase< Reference, Adapter >
struct  QRangeModelAdapter< Range, Protocol, Model >::ConstRowReference
struct  QRangeModelAdapter< Range, Protocol, Model >::RowReference
struct  QRangeModelAdapter< Range, Protocol, Model >::RowIteratorBase< Iterator, Adapter >
struct  QRangeModelAdapter< Range, Protocol, Model >::ConstRowIterator
struct  QRangeModelAdapter< Range, Protocol, Model >::RowIterator

Macros

#define QRMA_DATAREFERENCE_RELATIONAL_OPERATOR(op, expression)

Functions

template<typename Range, typename Protocol, QRangeModelDetails::if_can_construct< Range, Protocol > = true>
 QRangeModelAdapter (Range &&, Protocol &&) -> QRangeModelAdapter< Range, Protocol >
template<typename Range, QRangeModelDetails::if_can_construct< Range > = true>
 QRangeModelAdapter (Range &&) -> QRangeModelAdapter< Range, void >

Macro Definition Documentation

◆ QRMA_DATAREFERENCE_RELATIONAL_OPERATOR

#define QRMA_DATAREFERENCE_RELATIONAL_OPERATOR ( op,
expression )
Value:
template <typename U = value_type> \
operator op(const DataReference &lhs, const DataReference &rhs) \
{ const value_type &a = lhs.get(); const value_type &b = rhs.get(); return expression; } \
template <typename U = value_type> \
operator op(const DataReference &lhs, const value_type &b) \
{ const value_type &a = lhs.get(); return expression; } \
template <typename U = value_type> \
operator op(const value_type &a, const DataReference &rhs) \
{ const value_type &b = rhs.get(); return expression; }
typename C::value_type value_type
std::enable_if_t< std::conjunction_v< QTypeTraits::has_operator_less_than< T >... >, bool > compare_lt_result
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a

Definition at line 289 of file qrangemodeladapter.h.

Function Documentation

◆ QRangeModelAdapter() [1/2]

template<typename Range, QRangeModelDetails::if_can_construct< Range > = true>
QRangeModelAdapter ( Range && ) -> QRangeModelAdapter< Range, void >

◆ QRangeModelAdapter() [2/2]

template<typename Range, typename Protocol, QRangeModelDetails::if_can_construct< Range, Protocol > = true>
QRangeModelAdapter ( Range && ,
Protocol &&  ) -> QRangeModelAdapter< Range, Protocol >