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

#include <qgenericitemmodel_impl.h>

+ Collaboration diagram for QGenericItemModelDetails::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 QGenericItemModelDetails::protocol_traits< Range, Protocol >

Definition at line 478 of file qgenericitemmodel_impl.h.

Member Typedef Documentation

◆ protocol

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

Definition at line 480 of file qgenericitemmodel_impl.h.

◆ row

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

Definition at line 481 of file qgenericitemmodel_impl.h.

Member Data Documentation

◆ has_deleteRow

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

Definition at line 484 of file qgenericitemmodel_impl.h.

◆ has_mutable_childRows

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

Definition at line 486 of file qgenericitemmodel_impl.h.

◆ has_newRow

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

Definition at line 483 of file qgenericitemmodel_impl.h.

◆ has_setParentRow

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

Definition at line 485 of file qgenericitemmodel_impl.h.

◆ is_default

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

Definition at line 488 of file qgenericitemmodel_impl.h.


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