![]() |
QxOrm 1.4.9
C++ Object Relational Mapping library
|
Clone all classes registered into QxOrm context using QxOrm library serialization engine. More...
#include <string>#include <iostream>#include <sstream>#include <exception>#include <boost/archive/archive_exception.hpp>#include <QxSerialize/boost/QxSerializeInclude.h>#include <QxSerialize/QxBoostSerializeHelper/QxBoostSerializeRegisterHelperX.h>#include <QxSerialize/QxSerializeInvoker.h>Go to the source code of this file.
Namespaces | |
| namespace | qx |
| Root namespace for all QxOrm library features. | |
Macros | |
| #define | QX_STR_CLONE_SERIALIZATION_ERROR "[QxOrm] qx::clone() serialization error : '%s'" |
| #define | QX_STR_CLONE_DESERIALIZATION_ERROR "[QxOrm] qx::clone() deserialization error : '%s'" |
Functions | |
| template<class T > | |
| T * | qx::clone_to_nude_ptr (const T &obj) |
| qx::clone_to_nude_ptr(const T & obj) : return a nude pointer (be careful with memory leak) of a new instance of type T cloned from obj | |
| template<class T > | |
| std::shared_ptr< T > | qx::clone (const T &obj) |
| qx::clone(const T & obj) : return a boost smart-pointer (std::shared_ptr<T>) of a new instance of type T cloned from obj | |
| template<class T > | |
| boost::shared_ptr< T > | qx::clone_to_boost_shared_ptr (const T &obj) |
| qx::clone_to_boost_shared_ptr(const T & obj) : return a boost smart-pointer (boost::shared_ptr<T>) of a new instance of type T cloned from obj | |
| template<class T > | |
| QSharedPointer< T > | qx::clone_to_qt_shared_ptr (const T &obj) |
| qx::clone_to_qt_shared_ptr(const T & obj) : return a Qt smart-pointer (QSharedPointer<T>) of a new instance of type T cloned from obj | |
| template<class T > | |
| std::shared_ptr< T > | qx::clone_to_std_shared_ptr (const T &obj) |
| qx::clone_to_std_shared_ptr(const T & obj) : return a C++11 std smart-pointer (std::shared_ptr<T>) of a new instance of type T cloned from obj | |
Clone all classes registered into QxOrm context using QxOrm library serialization engine.
Definition in file QxClone.h.
| #define QX_STR_CLONE_DESERIALIZATION_ERROR "[QxOrm] qx::clone() deserialization error : '%s'" |