| QxOrm 1.2.1 C++ Object Relational Mapping library

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

- File List
- File Members

Namespaces | Defines | Functions
QxClone.h File Reference
QxSerialize : QxOrm library serialization engine based on 'boost::serialization' 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.
## Defines
#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 >
boost::shared_ptr< T > | qx::clone (const T &obj)
| qx::clone(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

## Detailed Description

Clone all classes registered into QxOrm context using QxOrm library serialization engine.

Author:
  Lionel Marty

Definition in file QxClone.h.

## Define Documentation

#define QX_STR_CLONE_DESERIALIZATION_ERROR "[QxOrm] qx::clone() deserialization error : '%s'"

Definition at line 52 of file QxClone.h.

#define QX_STR_CLONE_SERIALIZATION_ERROR "[QxOrm] qx::clone() serialization error : '%s'"

Definition at line 51 of file QxClone.h.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines