32#ifdef _QX_ENABLE_BOOST_SERIALIZATION
33#ifndef _QX_BOOST_INIT_GUID_H_
34#define _QX_BOOST_INIT_GUID_H_
40#include <boost/serialization/singleton.hpp>
41#include <boost/serialization/assume_abstract.hpp>
42#include <boost/serialization/type_info_implementation.hpp>
43#include <boost/archive/detail/register_archive.hpp>
44#include <boost/mpl/bool.hpp>
61 inline void guid(
const char * key, std::false_type)
64 inline void guid(
const char * key, std::true_type)
67 inline void guid(
const char * key)
70 boost::serialization::singleton< typename boost::serialization::type_info_implementation<T>::type >::get_mutable_instance().key_register(key);
71 guid(key, boost::serialization::is_abstract<T>());
void guid(const char *key, std::false_type)
void guid(const char *key, std::true_type)
void guid(const char *key)
Register all primitive and useful types of stl, boost and Qt libraries using QX_REGISTER_CLASS_NAME(T...
Root namespace for all QxOrm library features.
qx::trait::get_class_name<T>::get() : return class name of type T under const char * format,...