QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
qx::model_view::detail::QxNestedModel_Container< T, M > Struct Template Reference

#include <QxNestedModel.h>

Classes

struct  insertItem_Helper
 
struct  insertItem_Helper< const std::pair< U1, U2 >, false >
 
struct  insertItem_Helper< std::pair< U1, U2 >, false >
 
struct  insertItem_Helper< U, false >
 

Public Types

enum  { is_valid = qx::trait::is_qx_registered<type_data>::value }
 
typedef qx::trait::generic_container< T > type_generic_container
 
typedef type_generic_container::type_value_qx type_data
 
typedef type_generic_container::type_item type_item
 
typedef qx::QxModel< type_data >::type_collection type_collection
 
typedef qx::QxModel< type_data >::type_primary_key type_primary_key
 
typedef qx::QxModel< type_data >::type_ptr type_ptr
 

Static Public Member Functions

static qx::IxModelcreate (qx::IxModel *pParent, const QModelIndex &idxParent, T &t)
 
template<typename U >
static bool insert (qx::IxModel *pModel, U &item, int iRow)
 
static void synchronize (qx::IxModel *pModel, T &t)
 

Static Private Member Functions

template<typename U >
static bool insertItem (qx::IxModel *pModel, U &item, int iRow)
 

Detailed Description

template<class T, class M>
struct qx::model_view::detail::QxNestedModel_Container< T, M >

Definition at line 171 of file QxNestedModel.h.

Member Typedef Documentation

◆ type_collection

template<class T , class M >
typedef qx::QxModel<type_data>::type_collection qx::model_view::detail::QxNestedModel_Container< T, M >::type_collection

Definition at line 177 of file QxNestedModel.h.

◆ type_data

template<class T , class M >
typedef type_generic_container::type_value_qx qx::model_view::detail::QxNestedModel_Container< T, M >::type_data

Definition at line 175 of file QxNestedModel.h.

◆ type_generic_container

template<class T , class M >
typedef qx::trait::generic_container<T> qx::model_view::detail::QxNestedModel_Container< T, M >::type_generic_container

Definition at line 174 of file QxNestedModel.h.

◆ type_item

template<class T , class M >
typedef type_generic_container::type_item qx::model_view::detail::QxNestedModel_Container< T, M >::type_item

Definition at line 176 of file QxNestedModel.h.

◆ type_primary_key

template<class T , class M >
typedef qx::QxModel<type_data>::type_primary_key qx::model_view::detail::QxNestedModel_Container< T, M >::type_primary_key

Definition at line 178 of file QxNestedModel.h.

◆ type_ptr

template<class T , class M >
typedef qx::QxModel<type_data>::type_ptr qx::model_view::detail::QxNestedModel_Container< T, M >::type_ptr

Definition at line 179 of file QxNestedModel.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T , class M >
anonymous enum
Enumerator
is_valid 

Definition at line 181 of file QxNestedModel.h.

Member Function Documentation

◆ create()

template<class T , class M >
static qx::IxModel * qx::model_view::detail::QxNestedModel_Container< T, M >::create ( qx::IxModel * pParent,
const QModelIndex & idxParent,
T & t )
inlinestatic

Definition at line 183 of file QxNestedModel.h.

◆ insert()

template<class T , class M >
template<typename U >
static bool qx::model_view::detail::QxNestedModel_Container< T, M >::insert ( qx::IxModel * pModel,
U & item,
int iRow )
inlinestatic

Definition at line 200 of file QxNestedModel.h.

◆ insertItem()

template<class T , class M >
template<typename U >
static bool qx::model_view::detail::QxNestedModel_Container< T, M >::insertItem ( qx::IxModel * pModel,
U & item,
int iRow )
inlinestaticprivate

Definition at line 239 of file QxNestedModel.h.

◆ synchronize()

template<class T , class M >
static void qx::model_view::detail::QxNestedModel_Container< T, M >::synchronize ( qx::IxModel * pModel,
T & t )
inlinestatic

Definition at line 218 of file QxNestedModel.h.


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