QxOrm  1.5.0
C++ Object Relational Mapping library

Provide some tools to serialize a class registered into QxOrm context into/from binary/XML archive (file, string, etc.) More...

#include <string>
#include <iostream>
#include <sstream>
#include <fstream>
#include <exception>
#include <boost/archive/archive_exception.hpp>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/nvp.hpp>
#include <QxTraits/archive_wide_traits.h>
#include <QxTraits/get_class_name.h>
#include <QxTraits/is_qx_registered.h>
#include <QxCommon/QxConfig.h>
#include <QxCommon/QxBool.h>
#include <QxRegister/QxClass.h>
#include <QxRegister/QxClassName.h>
#include <QxSerialize/QxSerializeMacro.h>
#include <QxSerialize/boost/QxSerializeInclude.h>
#include <QxSerialize/QxBoostSerializeHelper/QxBoostSerializeRegisterHelperX.h>
#include "../../inl/QxSerialize/QxArchive.inl"

Go to the source code of this file.

Classes

class  qx::QxArchive_ToFile< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_ToFile : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_FromFile< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_FromFile : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_ToFileCompressed< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_ToFileCompressed : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_FromFileCompressed< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_FromFileCompressed : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_ToString< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_ToString : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_FromString< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_FromString : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_ToByteArray< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_ToByteArray : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...
class  qx::QxArchive_FromByteArray< T, ArchiveInput, ArchiveOutput >
 qx::QxArchive_FromByteArray : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...

Namespaces

namespace  qx
 

Root namespace for all QxOrm library features.


namespace  qx::serialization
 

QxOrm library serialization engine based on boost::serialization library.


namespace  qx::serialization::polymorphic_binary
 

serialize a class registered into QxOrm context into/from polymorphic_binary archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_POLYMORPHIC compilation options in QxOrm.pri configuration file


namespace  qx::serialization::polymorphic_text
 

serialize a class registered into QxOrm context into/from polymorphic_text archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_POLYMORPHIC compilation options in QxOrm.pri configuration file


namespace  qx::serialization::polymorphic_xml
 

serialize a class registered into QxOrm context into/from polymorphic_xml archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_POLYMORPHIC compilation options in QxOrm.pri configuration file


namespace  qx::serialization::binary
 

serialize a class registered into QxOrm context into/from binary archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_BINARY compilation options in QxOrm.pri configuration file


namespace  qx::serialization::text
 

serialize a class registered into QxOrm context into/from text archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_TEXT compilation options in QxOrm.pri configuration file


namespace  qx::serialization::xml
 

serialize a class registered into QxOrm context into/from XML archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_XML compilation options in QxOrm.pri configuration file


namespace  qx::serialization::portable_binary
 

serialize a class registered into QxOrm context into/from portable_binary archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_PORTABLE_BINARY compilation options in QxOrm.pri configuration file


namespace  qx::serialization::wide
 

QxOrm library serialization engine for wide archive.


namespace  qx::serialization::wide::binary
 

serialize a class registered into QxOrm context into/from wide binary archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_WIDE_BINARY compilation options in QxOrm.pri configuration file


namespace  qx::serialization::wide::text
 

serialize a class registered into QxOrm context into/from wide text archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_WIDE_TEXT compilation options in QxOrm.pri configuration file


namespace  qx::serialization::wide::xml
 

serialize a class registered into QxOrm context into/from wide XML archive (file, string, etc.) : enable this feature defining _QX_ENABLE_BOOST_SERIALIZATION and _QX_ENABLE_BOOST_SERIALIZATION_WIDE_XML compilation options in QxOrm.pri configuration file


Defines

#define QX_STR_SERIALIZATION_ERROR   "Serialization error : '%ERR%'"
#define QX_STR_DESERIALIZATION_ERROR   "Deserialization error : '%ERR%'"

Detailed Description

Provide some tools to serialize a class registered into QxOrm context into/from binary/XML archive (file, string, etc.)

Author:
Lionel Marty

Definition in file QxArchive.h.


Define Documentation

#define QX_STR_DESERIALIZATION_ERROR   "Deserialization error : '%ERR%'"

Definition at line 72 of file QxArchive.h.

#define QX_STR_SERIALIZATION_ERROR   "Serialization error : '%ERR%'"

Definition at line 71 of file QxArchive.h.