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< Range, Protocol, Model > Class Template Reference

#include <qrangemodeladapter.h>

Collaboration diagram for QRangeModelAdapter< Range, Protocol, Model >:

Classes

struct  DataReference
struct  ColumnIteratorBase
struct  ConstColumnIterator
struct  ColumnIterator
struct  RowGetter
struct  RowGetter< Reference, const_row_type, true, false >
struct  RowGetter< Reference, const_row_type, false, true >
struct  RowReferenceBase
struct  ConstRowReference
struct  RowReference
struct  RowIteratorBase
struct  ConstRowIterator
struct  RowIterator

Public Types

using const_iterator = ConstRowIterator
using iterator = RowIterator
using const_reverse_iterator = std::reverse_iterator<const_iterator>
using reverse_iterator = std::reverse_iterator<iterator>
using value_type = std::remove_cv_t<row_type>
using reference = typename iterator::reference
using const_reference = typename const_iterator::reference
using size_type = int
using difference_type = int

Public Member Functions

template<typename R, typename P, if_compatible_model_params< R, P > = true>
 QRangeModelAdapter (R &&rangerange, P &&protocol)
template<typename R, typename P = void, if_compatible_model_params< R, P > = true, unless_adapter< R > = true>
 QRangeModelAdapter (R &&rangerange)
Model * model () const
const range_type & range () const
template<typename NewRange = range_type, if_assignable_range< NewRange > = true>
void assign (NewRange &&newRange)
template<typename NewRange = range_type, if_assignable_range< NewRange > = true, unless_adapter< NewRange > = true>
QRangeModelAdapter & operator= (NewRange &&newRange)
template<typename Row, if_assignable_range< std::initializer_list< Row > > = true>
void assign (std::initializer_list< Row > newRange)
template<typename Row, if_assignable_range< std::initializer_list< Row > > = true>
QRangeModelAdapter & operator= (std::initializer_list< Row > newRange)
template<typename I = Impl, if_canAssignCopies< I > = true>
void assign (size_type countcount, const value_type &valuevalue)
template<typename InputIterator, typename Sentinel, typename I = Impl, if_writable< I > = true, if_compatible_row_iterator< InputIterator > = true>
void assign (InputIterator firstfirst, Sentinel last)
template<typename I = Impl, if_canSort< I > = true>
void sort (int columncolumn=0, Qt::SortOrder orderorder=Qt::AscendingOrder)
ConstRowIterator cbegin () const
ConstRowIterator begin () const
ConstRowIterator cend () const
ConstRowIterator end () const
template<typename I = Impl, if_writable< I > = true>
RowIterator begin ()
template<typename I = Impl, if_writable< I > = true>
RowIterator end ()
const_reverse_iterator crbegin () const
const_reverse_iterator rbegin () const
const_reverse_iterator crend () const
const_reverse_iterator rend () const
template<typename I = Impl, if_writable< I > = true>
reverse_iterator rbegin ()
template<typename I = Impl, if_writable< I > = true>
reverse_iterator rend ()
int size () const
bool isEmpty () const
bool empty () const
decltype(auto) front () const
template<typename I = Impl, if_writable< I > = true>
auto front ()
decltype(auto) back () const
template<typename I = Impl, if_writable< I > = true>
auto back ()
template<typename I = Impl, if_list< I > = true>
QModelIndex index (int rowrow) const
template<typename I = Impl, unless_list< I > = true>
QModelIndex index (int rowrow, int columncolumn) const
template<typename I = Impl, if_tree< I > = true>
QModelIndex index (QSpan< const int > pathpath, int col) const
int columnCount () const
int rowCount () const
template<typename I = Impl, if_tree< I > = true>
int rowCount (int rowrow) const
template<typename I = Impl, if_tree< I > = true>
int rowCount (QSpan< const int > pathpath) const
template<typename I = Impl, if_tree< I > = true>
int rowCount (const QModelIndex &indexindex) const
template<typename I = Impl, if_tree< I > = true>
constexpr bool hasChildren (int rowrow) const
template<typename I = Impl, if_tree< I > = true>
constexpr bool hasChildren (QSpan< const int > pathpath) const
template<typename I = Impl, if_tree< I > = true>
constexpr bool hasChildren (const QModelIndex &indexindex) const
template<typename I = Impl, if_list< I > = true>
QVariant data (int rowrow) const
template<typename I = Impl, if_list< I > = true>
QVariant data (int rowrow, int role) const
template<typename I = Impl, if_list< I > = true, if_writable< I > = true>
bool setData (int rowrow, const QVariant &valuevalue, int role=Qt::EditRole)
template<typename I = Impl, unless_list< I > = true>
QVariant data (int rowrow, int columncolumn) const
template<typename I = Impl, unless_list< I > = true>
QVariant data (int rowrow, int columncolumn, int role) const
template<typename I = Impl, unless_list< I > = true, if_writable< I > = true>
bool setData (int rowrow, int columncolumn, const QVariant &valuevalue, int role=Qt::EditRole)
template<typename I = Impl, if_tree< I > = true>
QVariant data (QSpan< const int > pathpath, int columncolumn) const
template<typename I = Impl, if_tree< I > = true>
QVariant data (QSpan< const int > pathpath, int columncolumn, int role) const
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
bool setData (QSpan< const int > pathpath, int columncolumn, const QVariant &valuevalue, int role=Qt::EditRole)
QVariant data (const QModelIndex &indexindex) const
QVariant data (const QModelIndex &indexindex, int role) const
template<typename I = Impl, if_writable< I > = true>
bool setData (const QModelIndex &indexindex, const QVariant &valuevalue, int role=Qt::EditRole)
template<typename I = Impl, if_list< I > = true>
const_data_type at (int rowrow) const
template<typename I = Impl, if_list< I > = true>
const_data_type operator[] (int rowrow) const
template<typename I = Impl, if_list< I > = true, if_writable< I > = true>
auto at (int rowrow)
template<typename I = Impl, if_list< I > = true, if_writable< I > = true>
auto operator[] (int rowrow)
template<typename I = Impl, unless_list< I > = true>
decltype(auto) at (int rowrow) const
template<typename I = Impl, unless_list< I > = true>
decltype(auto) operator[] (int rowrow) const
template<typename I = Impl, if_table< I > = true, if_writable< I > = true>
auto at (int rowrow)
template<typename I = Impl, if_table< I > = true, if_writable< I > = true>
auto operator[] (int rowrow)
template<typename I = Impl, unless_list< I > = true>
const_data_type at (int rowrow, int columncolumn) const
template<typename I = Impl, unless_list< I > = true, if_writable< I > = true>
auto at (int rowrow, int columncolumn)
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto at (int rowrow)
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto operator[] (int rowrow)
template<typename I = Impl, if_tree< I > = true>
decltype(auto) at (QSpan< const int > pathpath) const
template<typename I = Impl, if_tree< I > = true>
decltype(auto) operator[] (QSpan< const int > pathpath) const
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto at (QSpan< const int > pathpath)
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto operator[] (QSpan< const int > pathpath)
template<typename I = Impl, if_tree< I > = true>
const_data_type at (QSpan< const int > pathpath, int columncolumn) const
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto at (QSpan< const int > pathpath, int columncolumn)
const_data_type at (const QModelIndex &indexindex) const
template<typename I = Impl, if_writable< I > = true>
auto at (const QModelIndex &indexindex)
template<typename I = Impl, if_canInsertRows< I > = true>
bool insertRow (int before)
template<typename I = Impl, if_canInsertRows< I > = true, if_tree< I > = true>
bool insertRow (QSpan< const int > before)
template<typename I = Impl, if_canInsertRows< I > = true, if_tree< I > = true>
bool insertRow (int before, const QModelIndex &parent)
template<typename D = row_type, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row< D > = true>
bool insertRow (int before, D &&datadata)
template<typename D = row_type, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row< D > = true, if_tree< I > = true>
bool insertRow (QSpan< const int > before, D &&datadata)
template<typename D = row_type, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row< D > = true, if_tree< I > = true>
bool insertRow (int before, const QModelIndex &parent, D &&datadata)
template<typename C, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_range< C > = true>
bool insertRows (int before, C &&datadata)
template<typename C, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_range< C > = true, if_tree< I > = true>
bool insertRows (QSpan< const int > before, C &&datadata)
template<typename C, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_range< C > = true, if_tree< I > = true>
bool insertRows (int before, const QModelIndex &parent, C &&datadata)
template<typename I = Impl, if_canInsertRows< I > = true>
iterator insert (const_iterator pos, const value_type &valuevalue)
template<typename I = Impl, if_canInsertRows< I > = true>
iterator insert (const_iterator pos, value_type &&valuevalue)
template<typename I = Impl, if_canInsertCopies< I > = true>
iterator insert (const_iterator pos, size_type countcount, const value_type &valuevalue)
template<typename InputIterator, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_iterator< InputIterator > = true>
iterator insert (const_iterator pos, InputIterator firstfirst, InputIterator last)
template<typename I = Impl, if_canInsertRows< I > = true>
iterator insert (const_iterator pos, std::initializer_list< value_type > valuesvalues)
template<typename ... Args, typename I = Impl, if_canInsertRows< I > = true, if_emplaceable< Args... > = true>
iterator emplace (const_iterator pos, Args &&...args)
template<typename I = Impl, if_canInsertRows< I > = true>
void push_back (const value_type &valuevalue)
template<typename I = Impl, if_canInsertRows< I > = true>
void push_back (value_type &&valuevalue)
template<typename I = Impl, if_canInsertRows< I > = true>
void push_front (const value_type &valuevalue)
template<typename I = Impl, if_canInsertRows< I > = true>
void push_front (value_type &&valuevalue)
template<typename ... Args, typename I = Impl, if_canInsertRows< I > = true, if_emplaceable< Args... > = true>
reference emplace_back (Args &&...args)
template<typename ... Args, typename I = Impl, if_canInsertRows< I > = true, if_emplaceable< Args... > = true>
reference emplace_front (Args &&...args)
template<typename I = Impl, if_canRemoveRows< I > = true>
iterator erase (const_iterator pos)
template<typename I = Impl, if_canRemoveRows< I > = true>
iterator erase (const_iterator firstfirst, const_iterator last)
template<typename I = Impl, if_canRemoveRows< I > = true>
void pop_back ()
template<typename I = Impl, if_canRemoveRows< I > = true>
void pop_front ()
template<typename I = Impl, if_canRemoveRows< I > = true>
void clear ()
template<typename I = Impl, if_canInsertRows< I > = true, if_canRemoveRows< I > = true>
void resize (size_type newSize)
template<typename I = Impl, if_canInsertCopies< I > = true, if_canRemoveRows< I > = true>
void resize (size_type newSize, const value_type &valuevalue)
template<typename Predicate, typename I = Impl, if_canRemoveRows< I > = true>
size_type removeIf (Predicate pred)
template<typename AT = value_type, typename I = Impl, if_canRemoveRows< I > = true>
size_type removeAll (const AT &valuevalue)
template<typename I = Impl, if_canRemoveRows< I > = true>
bool removeRow (int rowrow)
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool removeRow (QSpan< const int > pathpath)
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool removeRow (int rowrow, const QModelIndex &parent)
template<typename I = Impl, if_canRemoveRows< I > = true>
bool removeRows (int rowrow, int countcount)
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool removeRows (QSpan< const int > pathpath, int countcount)
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool removeRows (int rowrow, int countcount, const QModelIndex &parent)
template<typename F = range_features, if_canMoveItems< F > = true>
bool moveRow (int sourcesource, int destination)
template<typename F = range_features, if_canMoveItems< F > = true>
bool moveRows (int sourcesource, int countcount, int destination)
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool moveRow (QSpan< const int > sourcesource, QSpan< const int > destination)
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool moveRow (const QModelIndex &sourceParent, int sourceRow, const QModelIndex &destinationParent, int destinationChild)
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool moveRows (QSpan< const int > sourcesource, int countcount, QSpan< const int > destination)
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool moveRows (const QModelIndex &sourceParent, int sourceRow, int countcount, const QModelIndex &destinationParent, int destinationChild)
template<typename I = Impl, if_canInsertColumns< I > = true>
bool insertColumn (int before)
template<typename D, typename I = Impl, if_canInsertColumns< I > = true, if_compatible_column_data< D > = true>
bool insertColumn (int before, D &&datadata)
template<typename C, typename I = Impl, if_canInsertColumns< I > = true, if_compatible_column_range< C > = true>
bool insertColumns (int before, C &&datadata)
template<typename I = Impl, if_canRemoveColumns< I > = true>
bool removeColumn (int columncolumn)
template<typename I = Impl, if_canRemoveColumns< I > = true>
bool removeColumns (int columncolumn, int countcount)
template<typename F = row_features, if_canMoveItems< F > = true>
bool moveColumn (int from, int to)
template<typename F = row_features, if_canMoveItems< F > = true>
bool moveColumns (int from, int countcount, int to)
template<typename I = Impl, typename F = row_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool moveColumn (QSpan< const int > sourcesource, int to)
template<typename I = Impl, typename F = row_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool moveColumns (QSpan< const int > sourcesource, int countcount, int destination)

Friends

class QRangeModel
class QRangeModelAdapter< asMutable_t< Range >, Protocol, Model >
template<typename AT = value_type, typename I = Impl, if_canRemoveRows< I > = true>
size_type erase (QRangeModelAdapter &adapter, const AT &valuevalue)
template<typename Predicate, typename I = Impl, if_canRemoveRows< I > = true>
size_type erase_if (QRangeModelAdapter &adapter, Predicate pred)
bool comparesEqual (const QRangeModelAdapter &lhs, const QRangeModelAdapter &rhs) noexcept
bool comparesEqual (const QRangeModelAdapter &lhs, const range_type &rhs)

Detailed Description

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
class QRangeModelAdapter< Range, Protocol, Model >

Definition at line 16 of file qrangemodeladapter.h.

Member Typedef Documentation

◆ const_iterator

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::const_iterator = ConstRowIterator

Definition at line 1132 of file qrangemodeladapter.h.

◆ const_reference

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::const_reference = typename const_iterator::reference

Definition at line 1143 of file qrangemodeladapter.h.

◆ const_reverse_iterator

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::const_reverse_iterator = std::reverse_iterator<const_iterator>

Definition at line 1134 of file qrangemodeladapter.h.

◆ difference_type

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::difference_type = int

Definition at line 1146 of file qrangemodeladapter.h.

◆ iterator

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::iterator = RowIterator

Definition at line 1133 of file qrangemodeladapter.h.

◆ reference

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::reference = typename iterator::reference

Definition at line 1142 of file qrangemodeladapter.h.

◆ reverse_iterator

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::reverse_iterator = std::reverse_iterator<iterator>

Definition at line 1135 of file qrangemodeladapter.h.

◆ size_type

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::size_type = int

Definition at line 1145 of file qrangemodeladapter.h.

◆ value_type

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
using QRangeModelAdapter< Range, Protocol, Model >::value_type = std::remove_cv_t<row_type>

Definition at line 1141 of file qrangemodeladapter.h.

Constructor & Destructor Documentation

◆ QRangeModelAdapter() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename R, typename P, if_compatible_model_params< R, P > = true>
QRangeModelAdapter< Range, Protocol, Model >::QRangeModelAdapter ( R && range,
P && protocol )
inlineexplicit

Definition at line 1151 of file qrangemodeladapter.h.

◆ QRangeModelAdapter() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename R, typename P = void, if_compatible_model_params< R, P > = true, unless_adapter< R > = true>
QRangeModelAdapter< Range, Protocol, Model >::QRangeModelAdapter ( R && range)
inlineexplicit

Definition at line 1160 of file qrangemodeladapter.h.

Member Function Documentation

◆ assign() [1/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename InputIterator, typename Sentinel, typename I = Impl, if_writable< I > = true, if_compatible_row_iterator< InputIterator > = true>
void QRangeModelAdapter< Range, Protocol, Model >::assign ( InputIterator first,
Sentinel last )
inline

Definition at line 1225 of file qrangemodeladapter.h.

◆ assign() [2/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename NewRange = range_type, if_assignable_range< NewRange > = true>
void QRangeModelAdapter< Range, Protocol, Model >::assign ( NewRange && newRange)
inline

Definition at line 1177 of file qrangemodeladapter.h.

◆ assign() [3/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canAssignCopies< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::assign ( size_type count,
const value_type & value )
inline

Definition at line 1209 of file qrangemodeladapter.h.

◆ assign() [4/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename Row, if_assignable_range< std::initializer_list< Row > > = true>
void QRangeModelAdapter< Range, Protocol, Model >::assign ( std::initializer_list< Row > newRange)
inline

Definition at line 1194 of file qrangemodeladapter.h.

◆ at() [1/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( const QModelIndex & index)
inline

Definition at line 1591 of file qrangemodeladapter.h.

◆ at() [2/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
const_data_type QRangeModelAdapter< Range, Protocol, Model >::at ( const QModelIndex & index) const
inline

Definition at line 1584 of file qrangemodeladapter.h.

◆ at() [3/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( int row)
inline

Definition at line 1529 of file qrangemodeladapter.h.

◆ at() [4/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_table< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( int row)
inline

Definition at line 1490 of file qrangemodeladapter.h.

◆ at() [5/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( int row)
inline

Definition at line 1468 of file qrangemodeladapter.h.

◆ at() [6/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true>
decltype(auto) QRangeModelAdapter< Range, Protocol, Model >::at ( int row) const
inline

Definition at line 1482 of file qrangemodeladapter.h.

◆ at() [7/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true>
const_data_type QRangeModelAdapter< Range, Protocol, Model >::at ( int row) const
inline

Definition at line 1460 of file qrangemodeladapter.h.

◆ at() [8/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( int row,
int column )
inline

Definition at line 1510 of file qrangemodeladapter.h.

◆ at() [9/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true>
const_data_type QRangeModelAdapter< Range, Protocol, Model >::at ( int row,
int column ) const
inline

Definition at line 1499 of file qrangemodeladapter.h.

◆ at() [10/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( QSpan< const int > path)
inline

Definition at line 1546 of file qrangemodeladapter.h.

◆ at() [11/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
decltype(auto) QRangeModelAdapter< Range, Protocol, Model >::at ( QSpan< const int > path) const
inline

Definition at line 1538 of file qrangemodeladapter.h.

◆ at() [12/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::at ( QSpan< const int > path,
int column )
inline

Definition at line 1567 of file qrangemodeladapter.h.

◆ at() [13/13]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
const_data_type QRangeModelAdapter< Range, Protocol, Model >::at ( QSpan< const int > path,
int column ) const
inline

Definition at line 1555 of file qrangemodeladapter.h.

◆ back() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::back ( )
inline

Definition at line 1308 of file qrangemodeladapter.h.

◆ back() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
decltype(auto) QRangeModelAdapter< Range, Protocol, Model >::back ( ) const
inline

Definition at line 1301 of file qrangemodeladapter.h.

◆ begin() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
RowIterator QRangeModelAdapter< Range, Protocol, Model >::begin ( )
inline

Definition at line 1252 of file qrangemodeladapter.h.

◆ begin() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
ConstRowIterator QRangeModelAdapter< Range, Protocol, Model >::begin ( ) const
inline

Definition at line 1243 of file qrangemodeladapter.h.

◆ cbegin()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
ConstRowIterator QRangeModelAdapter< Range, Protocol, Model >::cbegin ( ) const
inline

Definition at line 1239 of file qrangemodeladapter.h.

◆ cend()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
ConstRowIterator QRangeModelAdapter< Range, Protocol, Model >::cend ( ) const
inline

Definition at line 1245 of file qrangemodeladapter.h.

◆ clear()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::clear ( )
inline

Definition at line 1785 of file qrangemodeladapter.h.

◆ columnCount()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
int QRangeModelAdapter< Range, Protocol, Model >::columnCount ( ) const
inline

Definition at line 1340 of file qrangemodeladapter.h.

◆ crbegin()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
const_reverse_iterator QRangeModelAdapter< Range, Protocol, Model >::crbegin ( ) const
inline

Definition at line 1263 of file qrangemodeladapter.h.

◆ crend()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
const_reverse_iterator QRangeModelAdapter< Range, Protocol, Model >::crend ( ) const
inline

Definition at line 1265 of file qrangemodeladapter.h.

◆ data() [1/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( const QModelIndex & index) const
inline

Definition at line 1441 of file qrangemodeladapter.h.

◆ data() [2/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( const QModelIndex & index,
int role ) const
inline

Definition at line 1446 of file qrangemodeladapter.h.

◆ data() [3/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( int row) const
inline

Definition at line 1388 of file qrangemodeladapter.h.

◆ data() [4/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( int row,
int column ) const
inline

Definition at line 1406 of file qrangemodeladapter.h.

◆ data() [5/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( int row,
int column,
int role ) const
inline

Definition at line 1412 of file qrangemodeladapter.h.

◆ data() [6/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( int row,
int role ) const
inline

Definition at line 1394 of file qrangemodeladapter.h.

◆ data() [7/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( QSpan< const int > path,
int column ) const
inline

Definition at line 1424 of file qrangemodeladapter.h.

◆ data() [8/8]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
QVariant QRangeModelAdapter< Range, Protocol, Model >::data ( QSpan< const int > path,
int column,
int role ) const
inline

Definition at line 1430 of file qrangemodeladapter.h.

◆ emplace()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename ... Args, typename I = Impl, if_canInsertRows< I > = true, if_emplaceable< Args... > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::emplace ( const_iterator pos,
Args &&... args )
inline

Definition at line 1704 of file qrangemodeladapter.h.

◆ emplace_back()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename ... Args, typename I = Impl, if_canInsertRows< I > = true, if_emplaceable< Args... > = true>
reference QRangeModelAdapter< Range, Protocol, Model >::emplace_back ( Args &&... args)
inline

Definition at line 1740 of file qrangemodeladapter.h.

◆ emplace_front()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename ... Args, typename I = Impl, if_canInsertRows< I > = true, if_emplaceable< Args... > = true>
reference QRangeModelAdapter< Range, Protocol, Model >::emplace_front ( Args &&... args)
inline

Definition at line 1747 of file qrangemodeladapter.h.

◆ empty()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
bool QRangeModelAdapter< Range, Protocol, Model >::empty ( ) const
inline

Definition at line 1283 of file qrangemodeladapter.h.

◆ end() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
RowIterator QRangeModelAdapter< Range, Protocol, Model >::end ( )
inline

Definition at line 1258 of file qrangemodeladapter.h.

◆ end() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
ConstRowIterator QRangeModelAdapter< Range, Protocol, Model >::end ( ) const
inline

Definition at line 1249 of file qrangemodeladapter.h.

◆ erase() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::erase ( const_iterator first,
const_iterator last )
inline

Definition at line 1760 of file qrangemodeladapter.h.

◆ erase() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::erase ( const_iterator pos)
inline

Definition at line 1753 of file qrangemodeladapter.h.

◆ front() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::front ( )
inline

Definition at line 1295 of file qrangemodeladapter.h.

◆ front() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
decltype(auto) QRangeModelAdapter< Range, Protocol, Model >::front ( ) const
inline

Definition at line 1288 of file qrangemodeladapter.h.

◆ hasChildren() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::hasChildren ( const QModelIndex & index) const
inlineconstexpr

Definition at line 1382 of file qrangemodeladapter.h.

◆ hasChildren() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::hasChildren ( int row) const
inlineconstexpr

Definition at line 1370 of file qrangemodeladapter.h.

◆ hasChildren() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::hasChildren ( QSpan< const int > path) const
inlineconstexpr

Definition at line 1376 of file qrangemodeladapter.h.

◆ index() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true>
QModelIndex QRangeModelAdapter< Range, Protocol, Model >::index ( int row) const
inline

Definition at line 1315 of file qrangemodeladapter.h.

◆ index() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true>
QModelIndex QRangeModelAdapter< Range, Protocol, Model >::index ( int row,
int column ) const
inline

Definition at line 1321 of file qrangemodeladapter.h.

◆ index() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
QModelIndex QRangeModelAdapter< Range, Protocol, Model >::index ( QSpan< const int > path,
int col ) const
inline

Definition at line 1327 of file qrangemodeladapter.h.

◆ insert() [1/5]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::insert ( const_iterator pos,
const value_type & value )
inline

Definition at line 1661 of file qrangemodeladapter.h.

◆ insert() [2/5]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename InputIterator, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_iterator< InputIterator > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::insert ( const_iterator pos,
InputIterator first,
InputIterator last )
inline

Definition at line 1686 of file qrangemodeladapter.h.

◆ insert() [3/5]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertCopies< I > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::insert ( const_iterator pos,
size_type count,
const value_type & value )
inline

Definition at line 1677 of file qrangemodeladapter.h.

◆ insert() [4/5]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::insert ( const_iterator pos,
std::initializer_list< value_type > values )
inline

Definition at line 1695 of file qrangemodeladapter.h.

◆ insert() [5/5]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
iterator QRangeModelAdapter< Range, Protocol, Model >::insert ( const_iterator pos,
value_type && value )
inline

Definition at line 1669 of file qrangemodeladapter.h.

◆ insertColumn() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertColumns< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertColumn ( int before)
inline

Definition at line 1940 of file qrangemodeladapter.h.

◆ insertColumn() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename D, typename I = Impl, if_canInsertColumns< I > = true, if_compatible_column_data< D > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertColumn ( int before,
D && data )
inline

Definition at line 1947 of file qrangemodeladapter.h.

◆ insertColumns()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename C, typename I = Impl, if_canInsertColumns< I > = true, if_compatible_column_range< C > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertColumns ( int before,
C && data )
inline

Definition at line 1954 of file qrangemodeladapter.h.

◆ insertRow() [1/6]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRow ( int before)
inline

Definition at line 1598 of file qrangemodeladapter.h.

◆ insertRow() [2/6]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRow ( int before,
const QModelIndex & parent )
inline

Definition at line 1611 of file qrangemodeladapter.h.

◆ insertRow() [3/6]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename D = row_type, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row< D > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRow ( int before,
const QModelIndex & parent,
D && data )
inline

Definition at line 1633 of file qrangemodeladapter.h.

◆ insertRow() [4/6]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename D = row_type, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row< D > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRow ( int before,
D && data )
inline

Definition at line 1618 of file qrangemodeladapter.h.

◆ insertRow() [5/6]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRow ( QSpan< const int > before)
inline

Definition at line 1604 of file qrangemodeladapter.h.

◆ insertRow() [6/6]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename D = row_type, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row< D > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRow ( QSpan< const int > before,
D && data )
inline

Definition at line 1625 of file qrangemodeladapter.h.

◆ insertRows() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename C, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_range< C > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRows ( int before,
C && data )
inline

Definition at line 1640 of file qrangemodeladapter.h.

◆ insertRows() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename C, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_range< C > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRows ( int before,
const QModelIndex & parent,
C && data )
inline

Definition at line 1655 of file qrangemodeladapter.h.

◆ insertRows() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename C, typename I = Impl, if_canInsertRows< I > = true, if_compatible_row_range< C > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::insertRows ( QSpan< const int > before,
C && data )
inline

Definition at line 1647 of file qrangemodeladapter.h.

◆ isEmpty()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
bool QRangeModelAdapter< Range, Protocol, Model >::isEmpty ( ) const
inline

Definition at line 1278 of file qrangemodeladapter.h.

◆ model()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
Model * QRangeModelAdapter< Range, Protocol, Model >::model ( ) const
inline

Definition at line 1166 of file qrangemodeladapter.h.

◆ moveColumn() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename F = row_features, if_canMoveItems< F > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveColumn ( int from,
int to )
inline

Definition at line 1972 of file qrangemodeladapter.h.

◆ moveColumn() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, typename F = row_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveColumn ( QSpan< const int > source,
int to )
inline

Definition at line 1985 of file qrangemodeladapter.h.

◆ moveColumns() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename F = row_features, if_canMoveItems< F > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveColumns ( int from,
int count,
int to )
inline

Definition at line 1978 of file qrangemodeladapter.h.

◆ moveColumns() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, typename F = row_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveColumns ( QSpan< const int > source,
int count,
int destination )
inline

Definition at line 1993 of file qrangemodeladapter.h.

◆ moveRow() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveRow ( const QModelIndex & sourceParent,
int sourceRow,
const QModelIndex & destinationParent,
int destinationChild )
inline

Definition at line 1913 of file qrangemodeladapter.h.

◆ moveRow() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename F = range_features, if_canMoveItems< F > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveRow ( int source,
int destination )
inline

Definition at line 1893 of file qrangemodeladapter.h.

◆ moveRow() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveRow ( QSpan< const int > source,
QSpan< const int > destination )
inline

Definition at line 1906 of file qrangemodeladapter.h.

◆ moveRows() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveRows ( const QModelIndex & sourceParent,
int sourceRow,
int count,
const QModelIndex & destinationParent,
int destinationChild )
inline

Definition at line 1932 of file qrangemodeladapter.h.

◆ moveRows() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename F = range_features, if_canMoveItems< F > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveRows ( int source,
int count,
int destination )
inline

Definition at line 1899 of file qrangemodeladapter.h.

◆ moveRows() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, typename F = range_features, if_canMoveItems< F > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::moveRows ( QSpan< const int > source,
int count,
QSpan< const int > destination )
inline

Definition at line 1921 of file qrangemodeladapter.h.

◆ operator=() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename NewRange = range_type, if_assignable_range< NewRange > = true, unless_adapter< NewRange > = true>
QRangeModelAdapter & QRangeModelAdapter< Range, Protocol, Model >::operator= ( NewRange && newRange)
inline

Definition at line 1187 of file qrangemodeladapter.h.

◆ operator=() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename Row, if_assignable_range< std::initializer_list< Row > > = true>
QRangeModelAdapter & QRangeModelAdapter< Range, Protocol, Model >::operator= ( std::initializer_list< Row > newRange)
inline

Definition at line 1202 of file qrangemodeladapter.h.

◆ operator[]() [1/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::operator[] ( int row)
inline

Definition at line 1534 of file qrangemodeladapter.h.

◆ operator[]() [2/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_table< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::operator[] ( int row)
inline

Definition at line 1495 of file qrangemodeladapter.h.

◆ operator[]() [3/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::operator[] ( int row)
inline

Definition at line 1474 of file qrangemodeladapter.h.

◆ operator[]() [4/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true>
decltype(auto) QRangeModelAdapter< Range, Protocol, Model >::operator[] ( int row) const
inline

Definition at line 1487 of file qrangemodeladapter.h.

◆ operator[]() [5/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true>
const_data_type QRangeModelAdapter< Range, Protocol, Model >::operator[] ( int row) const
inline

Definition at line 1465 of file qrangemodeladapter.h.

◆ operator[]() [6/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
auto QRangeModelAdapter< Range, Protocol, Model >::operator[] ( QSpan< const int > path)
inline

Definition at line 1551 of file qrangemodeladapter.h.

◆ operator[]() [7/7]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
decltype(auto) QRangeModelAdapter< Range, Protocol, Model >::operator[] ( QSpan< const int > path) const
inline

Definition at line 1543 of file qrangemodeladapter.h.

◆ pop_back()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::pop_back ( )
inline

Definition at line 1771 of file qrangemodeladapter.h.

◆ pop_front()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::pop_front ( )
inline

Definition at line 1778 of file qrangemodeladapter.h.

◆ push_back() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::push_back ( const value_type & value)
inline

Definition at line 1715 of file qrangemodeladapter.h.

◆ push_back() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::push_back ( value_type && value)
inline

Definition at line 1721 of file qrangemodeladapter.h.

◆ push_front() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::push_front ( const value_type & value)
inline

Definition at line 1727 of file qrangemodeladapter.h.

◆ push_front() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::push_front ( value_type && value)
inline

Definition at line 1733 of file qrangemodeladapter.h.

◆ range()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
const range_type & QRangeModelAdapter< Range, Protocol, Model >::range ( ) const
inline

Definition at line 1171 of file qrangemodeladapter.h.

◆ rbegin() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
reverse_iterator QRangeModelAdapter< Range, Protocol, Model >::rbegin ( )
inline

Definition at line 1269 of file qrangemodeladapter.h.

◆ rbegin() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
const_reverse_iterator QRangeModelAdapter< Range, Protocol, Model >::rbegin ( ) const
inline

Definition at line 1264 of file qrangemodeladapter.h.

◆ removeAll()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename AT = value_type, typename I = Impl, if_canRemoveRows< I > = true>
size_type QRangeModelAdapter< Range, Protocol, Model >::removeAll ( const AT & value)
inline

Definition at line 1851 of file qrangemodeladapter.h.

◆ removeColumn()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveColumns< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeColumn ( int column)
inline

Definition at line 1960 of file qrangemodeladapter.h.

◆ removeColumns()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveColumns< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeColumns ( int column,
int count )
inline

Definition at line 1966 of file qrangemodeladapter.h.

◆ removeIf()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename Predicate, typename I = Impl, if_canRemoveRows< I > = true>
size_type QRangeModelAdapter< Range, Protocol, Model >::removeIf ( Predicate pred)
inline

Definition at line 1813 of file qrangemodeladapter.h.

◆ removeRow() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeRow ( int row)
inline

Definition at line 1857 of file qrangemodeladapter.h.

◆ removeRow() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeRow ( int row,
const QModelIndex & parent )
inline

Definition at line 1869 of file qrangemodeladapter.h.

◆ removeRow() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeRow ( QSpan< const int > path)
inline

Definition at line 1863 of file qrangemodeladapter.h.

◆ removeRows() [1/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeRows ( int row,
int count )
inline

Definition at line 1875 of file qrangemodeladapter.h.

◆ removeRows() [2/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeRows ( int row,
int count,
const QModelIndex & parent )
inline

Definition at line 1887 of file qrangemodeladapter.h.

◆ removeRows() [3/3]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canRemoveRows< I > = true, if_tree< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::removeRows ( QSpan< const int > path,
int count )
inline

Definition at line 1881 of file qrangemodeladapter.h.

◆ rend() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
reverse_iterator QRangeModelAdapter< Range, Protocol, Model >::rend ( )
inline

Definition at line 1271 of file qrangemodeladapter.h.

◆ rend() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
const_reverse_iterator QRangeModelAdapter< Range, Protocol, Model >::rend ( ) const
inline

Definition at line 1266 of file qrangemodeladapter.h.

◆ resize() [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertRows< I > = true, if_canRemoveRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::resize ( size_type newSize)
inline

Definition at line 1791 of file qrangemodeladapter.h.

◆ resize() [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canInsertCopies< I > = true, if_canRemoveRows< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::resize ( size_type newSize,
const value_type & value )
inline

Definition at line 1802 of file qrangemodeladapter.h.

◆ rowCount() [1/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
int QRangeModelAdapter< Range, Protocol, Model >::rowCount ( ) const
inline

Definition at line 1346 of file qrangemodeladapter.h.

◆ rowCount() [2/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
int QRangeModelAdapter< Range, Protocol, Model >::rowCount ( const QModelIndex & index) const
inline

Definition at line 1364 of file qrangemodeladapter.h.

◆ rowCount() [3/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
int QRangeModelAdapter< Range, Protocol, Model >::rowCount ( int row) const
inline

Definition at line 1352 of file qrangemodeladapter.h.

◆ rowCount() [4/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true>
int QRangeModelAdapter< Range, Protocol, Model >::rowCount ( QSpan< const int > path) const
inline

Definition at line 1358 of file qrangemodeladapter.h.

◆ setData() [1/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_writable< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::setData ( const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole )
inline

Definition at line 1452 of file qrangemodeladapter.h.

◆ setData() [2/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_list< I > = true, if_writable< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::setData ( int row,
const QVariant & value,
int role = Qt::EditRole )
inline

Definition at line 1400 of file qrangemodeladapter.h.

◆ setData() [3/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, unless_list< I > = true, if_writable< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::setData ( int row,
int column,
const QVariant & value,
int role = Qt::EditRole )
inline

Definition at line 1418 of file qrangemodeladapter.h.

◆ setData() [4/4]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_tree< I > = true, if_writable< I > = true>
bool QRangeModelAdapter< Range, Protocol, Model >::setData ( QSpan< const int > path,
int column,
const QVariant & value,
int role = Qt::EditRole )
inline

Definition at line 1436 of file qrangemodeladapter.h.

◆ size()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
int QRangeModelAdapter< Range, Protocol, Model >::size ( ) const
inline

Definition at line 1273 of file qrangemodeladapter.h.

◆ sort()

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename I = Impl, if_canSort< I > = true>
void QRangeModelAdapter< Range, Protocol, Model >::sort ( int column = 0,
Qt::SortOrder order = Qt::AscendingOrder )
inline

Definition at line 1233 of file qrangemodeladapter.h.

◆ comparesEqual [1/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
bool comparesEqual ( const QRangeModelAdapter< Range, Protocol, Model > & lhs,
const QRangeModelAdapter< Range, Protocol, Model > & rhs )
friend

Definition at line 2013 of file qrangemodeladapter.h.

◆ comparesEqual [2/2]

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
bool comparesEqual ( const QRangeModelAdapter< Range, Protocol, Model > & lhs,
const range_type & rhs )
friend

Definition at line 2020 of file qrangemodeladapter.h.

◆ erase

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename AT = value_type, typename I = Impl, if_canRemoveRows< I > = true>
size_type erase ( QRangeModelAdapter< Range, Protocol, Model > & adapter,
const AT & value )
friend

Definition at line 2001 of file qrangemodeladapter.h.

◆ erase_if

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
template<typename Predicate, typename I = Impl, if_canRemoveRows< I > = true>
size_type erase_if ( QRangeModelAdapter< Range, Protocol, Model > & adapter,
Predicate pred )
friend

Definition at line 2007 of file qrangemodeladapter.h.

◆ QRangeModel

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
friend class QRangeModel
friend

Definition at line 139 of file qrangemodeladapter.h.

◆ QRangeModelAdapter< asMutable_t< Range >, Protocol, Model >

template<typename Range, typename Protocol = void, typename Model = QRangeModel>
friend class QRangeModelAdapter< asMutable_t< Range >, Protocol, Model >
friend

Definition at line 166 of file qrangemodeladapter.h.


The documentation for this class was generated from the following files: