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

#include <QxNestedModel.h>

List of all members.

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

Definition at line 177 of file QxNestedModel.h.

Definition at line 175 of file QxNestedModel.h.

Definition at line 174 of file QxNestedModel.h.

Definition at line 176 of file QxNestedModel.h.

Definition at line 178 of file QxNestedModel.h.

Definition at line 179 of file QxNestedModel.h.


Member Enumeration Documentation

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

Definition at line 181 of file QxNestedModel.h.


Member Function Documentation

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 
) [inline, static]

Definition at line 183 of file QxNestedModel.h.

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 
) [inline, static]

Definition at line 200 of file QxNestedModel.h.

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 
) [inline, static, private]

Definition at line 239 of file QxNestedModel.h.

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

Definition at line 218 of file QxNestedModel.h.


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