QxOrm  1.5.0
C++ Object Relational Mapping library

qx::trait::is_valid_primary_key<T>(const T & t) : return true if t can be a valid primary key to be inserted into a database, otherwise return false More...

Go to the source code of this file.

Classes

struct  qx::trait::detail::is_valid_primary_key< T >
 qx::trait::is_valid_primary_key<T>(const T & t) : return true if t can be a valid primary key to be inserted into a database, otherwise return false More...
struct  qx::trait::detail::is_valid_primary_key< short >
struct  qx::trait::detail::is_valid_primary_key< int >
struct  qx::trait::detail::is_valid_primary_key< long >
struct  qx::trait::detail::is_valid_primary_key< long long >
struct  qx::trait::detail::is_valid_primary_key< QString >
struct  qx::trait::detail::is_valid_primary_key< QByteArray >
struct  qx::trait::detail::is_valid_primary_key< std::string >
struct  qx::trait::detail::is_valid_primary_key< std::wstring >
struct  qx::trait::detail::is_valid_primary_key< QVariant >

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.


Functions

template<typename T >
bool qx::trait::is_valid_primary_key (const T &t)

Detailed Description

qx::trait::is_valid_primary_key<T>(const T & t) : return true if t can be a valid primary key to be inserted into a database, otherwise return false

Author:
Lionel Marty

Definition in file is_valid_primary_key.h.