| QxOrm 1.2.3 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Classes | Namespaces | Defines
generic_container.h File Reference
QxTraits : QxOrm library traits (template metaprogramming) not available in 'boost::type_traits' library

qx::trait::generic_container<T> : provide some tools to manage all containers without knowing its type More...

`#include <boost/type_traits/is_pointer.hpp>`
`#include <QxTraits/is_smart_ptr.h>`
`#include <QxTraits/remove_attr.h>`
`#include <QxTraits/remove_smart_ptr.h>`
`#include <QxTraits/construct_ptr.h>`

Go to the source code of this file.

## Classes
class | qx::trait::no_type
struct | qx::trait::generic_container< T >
| qx::trait::generic_container<T> : provide some tools to manage all containers without knowing its type More...
struct | qx::trait::generic_container_item< Key, Value >
struct | qx::trait::generic_container_item< Key, Value >::new_Helper< bIsPointer, T, dummy >
struct | qx::trait::generic_container_item< Key, Value >::new_Helper< false, T, dummy >
struct | qx::trait::generic_container_item< Key, Value >::value_qx_Helper< bIsPointer, T, U, dummy >
struct | qx::trait::generic_container_item< Key, Value >::value_qx_Helper< false, T, U, dummy >
struct | qx::trait::detail::generic_container_base< Container, Item >
struct | qx::trait::detail::generic_container_base_without_reserve< Container, Item >
struct | qx::trait::detail::generic_container_base_set< Container, Item >
struct | qx::trait::detail::generic_container_base_key_value_std_style< Container, Key, Value >
struct | qx::trait::detail::generic_container_base_key_value_qt_style< Container, Key, Value >
struct | qx::trait::generic_container< std::vector< T > >
struct | qx::trait::generic_container< std::list< T > >
struct | qx::trait::generic_container< std::set< T > >
struct | qx::trait::generic_container< std::map< Key, Value > >
struct | qx::trait::generic_container< boost::unordered_set< T > >
struct | qx::trait::generic_container< boost::unordered_multiset< T > >
struct | qx::trait::generic_container< boost::unordered_map< Key, Value > >
struct | qx::trait::generic_container< boost::unordered_multimap< Key, Value > >
struct | qx::trait::generic_container< QVector< T > >
struct | qx::trait::generic_container< QList< T > >
struct | qx::trait::generic_container< QLinkedList< T > >
struct | qx::trait::generic_container< QSet< T > >
struct | qx::trait::generic_container< QMap< Key, Value > >
struct | qx::trait::generic_container< QMultiMap< Key, Value > >
struct | qx::trait::generic_container< QHash< Key, Value > >
struct | qx::trait::generic_container< QMultiHash< Key, Value > >
struct | qx::trait::generic_container< qx::QxCollection< Key, Value > >
## Namespaces
namespace | qx
| Root namespace for all QxOrm library features.
namespace | qx::trait
| QxOrm library traits (template metaprogramming) not available in boost::type_traits library.
namespace | qx::trait::detail
| Internal helper tools for qx::trait namespace.
## Defines
#define | QX_TRAIT_GENERIC_CONTAINER_TYPEDEF(TypeContainer, TypeKey, TypeValue)

## Detailed Description

qx::trait::generic_container<T> : provide some tools to manage all containers without knowing its type

Author:
  Lionel Marty

Definition in file generic_container.h.

## Define Documentation

#define QX_TRAIT_GENERIC_CONTAINER_TYPEDEF | ( |  | TypeContainer,
|  |  | TypeKey,
|  |  | TypeValue
| ) |  |

Value:

    typedef qx::trait::generic_container_item< TypeKey, TypeValue > type_item; \
    typedef typename type_item::type_key type_key; \
    typedef typename type_item::type_value type_value; \
    typedef typename type_item::type_value_qx type_value_qx; \
    typedef typename TypeContainer::iterator type_iterator;

Definition at line 119 of file generic_container.h.