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
QRangeModelDetails::protocol_traits< Range, Protocol > Struct Template Reference

#include <qrangemodel_impl.h>

Collaboration diagram for QRangeModelDetails::protocol_traits< Range, Protocol >:

Public Types

using protocol = wrapped_t<Protocol>
using row = typename range_traits<wrapped_t<Range>>::value_type

Static Public Attributes

static constexpr bool has_newRow = protocol_newRow<protocol>()
static constexpr bool has_deleteRow = protocol_deleteRow<protocol, row>()
static constexpr bool has_setParentRow = protocol_setParentRow<protocol, row>()
static constexpr bool has_mutable_childRows = protocol_mutable_childRows<protocol, row>()
static constexpr bool is_default = is_any_of<protocol, ListProtocol, TableProtocol, DefaultTreeProtocol>()

Detailed Description

template<typename Range, typename Protocol>
struct QRangeModelDetails::protocol_traits< Range, Protocol >

Definition at line 841 of file qrangemodel_impl.h.

Member Typedef Documentation

◆ protocol

template<typename Range, typename Protocol>
using QRangeModelDetails::protocol_traits< Range, Protocol >::protocol = wrapped_t<Protocol>

Definition at line 843 of file qrangemodel_impl.h.

◆ row

template<typename Range, typename Protocol>
using QRangeModelDetails::protocol_traits< Range, Protocol >::row = typename range_traits<wrapped_t<Range>>::value_type

Definition at line 844 of file qrangemodel_impl.h.

Member Data Documentation

◆ has_deleteRow

template<typename Range, typename Protocol>
bool QRangeModelDetails::protocol_traits< Range, Protocol >::has_deleteRow = protocol_deleteRow<protocol, row>()
staticconstexpr

Definition at line 847 of file qrangemodel_impl.h.

◆ has_mutable_childRows

template<typename Range, typename Protocol>
bool QRangeModelDetails::protocol_traits< Range, Protocol >::has_mutable_childRows = protocol_mutable_childRows<protocol, row>()
staticconstexpr

Definition at line 849 of file qrangemodel_impl.h.

◆ has_newRow

template<typename Range, typename Protocol>
bool QRangeModelDetails::protocol_traits< Range, Protocol >::has_newRow = protocol_newRow<protocol>()
staticconstexpr

Definition at line 846 of file qrangemodel_impl.h.

◆ has_setParentRow

template<typename Range, typename Protocol>
bool QRangeModelDetails::protocol_traits< Range, Protocol >::has_setParentRow = protocol_setParentRow<protocol, row>()
staticconstexpr

Definition at line 848 of file qrangemodel_impl.h.

◆ is_default

template<typename Range, typename Protocol>
bool QRangeModelDetails::protocol_traits< Range, Protocol >::is_default = is_any_of<protocol, ListProtocol, TableProtocol, DefaultTreeProtocol>()
staticconstexpr

Definition at line 851 of file qrangemodel_impl.h.


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