QxOrm  1.3.2
C++ Object Relational Mapping library

qx::model_view::create_nested_model is used by QxEntityEditor to manage complex data structure to work with relationships in QML views and Qt model/view architecture More...

#include <boost/static_assert.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/logical.hpp>
#include <boost/type_traits/is_pointer.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <QxCommon/QxStringCvt.h>
#include <QxCollection/QxCollection.h>
#include <QxTraits/is_qx_registered.h>
#include <QxTraits/is_container.h>
#include <QxTraits/is_smart_ptr.h>
#include <QxTraits/get_base_class.h>
#include <QxTraits/get_class_name_primitive.h>
#include <QxTraits/construct_ptr.h>
#include <QxTraits/generic_container.h>
#include <QxTraits/is_valid_primary_key.h>
#include <QxSerialize/QxClone.h>
#include <QxModelView/IxModel.h>
#include <QxModelView/QxModel.h>

Go to the source code of this file.

Classes

struct  qx::model_view::detail::QxNestedModel_Helper< T, bIsQObject >
struct  qx::model_view::detail::QxNestedModel_Helper< T, true >
struct  qx::model_view::detail::QxNestedModel_Generic< T >
struct  qx::model_view::detail::QxNestedModel_Container< T >
struct  qx::model_view::detail::QxNestedModel_Container< T >::insertItem_Helper< U, bIsPointer >
struct  qx::model_view::detail::QxNestedModel_Container< T >::insertItem_Helper< std::pair< U1, U2 >, false >
struct  qx::model_view::detail::QxNestedModel_Container< T >::insertItem_Helper< const std::pair< U1, U2 >, false >
struct  qx::model_view::detail::QxNestedModel_Container< T >::insertItem_Helper< QPair< U1, U2 >, false >
struct  qx::model_view::detail::QxNestedModel_Container< T >::insertItem_Helper< const QPair< U1, U2 >, false >
struct  qx::model_view::detail::QxNestedModel_Container< T >::insertItem_Helper< U, false >
struct  qx::model_view::detail::QxNestedModel_Ptr< T >
struct  qx::model_view::detail::QxNestedModel< T >

Namespaces

namespace  qx
 

Root namespace for all QxOrm library features.


namespace  qx::model_view
namespace  qx::model_view::detail

Functions

template<class T >
qx::IxModelqx::model_view::create_nested_model (qx::IxModel *pParent, const QModelIndex &idxParent, T &t)
 qx::model_view::create_nested_model is used by QxEntityEditor to manage complex data structure to work with relationships in QML views and Qt model/view architecture
template<class T >
void qx::model_view::sync_nested_model (qx::IxModel *pModel, T &t)
template<class T , class U >
qx::IxModelqx::model_view::create_nested_model_with_type (qx::IxModel *pParent, const QModelIndex &idxParent, T &t, U *dummy)

Detailed Description

qx::model_view::create_nested_model is used by QxEntityEditor to manage complex data structure to work with relationships in QML views and Qt model/view architecture

Author:
Lionel Marty

Definition in file QxNestedModel.h.