![]() |
QxOrm
1.2.9
C++ Object Relational Mapping library
|
qx::trait::get_sql_type<T>::get() : return type name under const char * format used by database engine to map a C++ type T More...
#include <boost/mpl/if.hpp>#include <boost/mpl/logical.hpp>#include <boost/scoped_ptr.hpp>#include <boost/shared_ptr.hpp>#include <boost/intrusive_ptr.hpp>#include <boost/optional.hpp>#include <boost/type_traits/is_enum.hpp>#include <boost/type_traits/is_same.hpp>#include <QtCore/qsharedpointer.h>#include <QxTraits/is_qx_registered.h>#include <QxTraits/get_primary_key.h>#include <QxTraits/remove_attr.h>#include <QxTraits/get_class_name_primitive.h>#include <QxDao/QxDaoPointer.h>#include <QxDao/QxDateNeutral.h>#include <QxDao/QxTimeNeutral.h>#include <QxDao/QxDateTimeNeutral.h>#include <QxCommon/QxBool.h>Go to the source code of this file.
qx::trait::get_sql_type<T>::get() : return type name under const char * format used by database engine to map a C++ type T
Definition in file get_sql_type.h.
| #define QX_REGISTER_TRAIT_GET_SQL_TYPE | ( | className, | |
| sqlType | |||
| ) |
namespace qx { namespace trait { namespace detail { \ template <> \ struct get_sql_type< className > \ { static inline const char * get() { return get_sql_type_by_class_name(#className, sqlType); } }; }}}
Definition at line 186 of file get_sql_type.h.