QxOrm  1.4.1
C++ Object Relational Mapping library
QxSerialize : QxOrm library serialization engine based on 'boost::serialization' library

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::serialization
 

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


namespace  qx::serialization::detail
 

Internal helper tools for qx::serialization namespace.


namespace  qx::serialization::wide
 

QxOrm library serialization engine for wide archive.


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::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


namespace  qx::serialization::qt
 

serialize a class registered into QxOrm context using Qt QDataStream serialization engine


Files

file  QxSerializeQDataStream_all_include.h
 

Include all Qt QDataStream serialization method (save/load) provided by QxOrm library.


file  QxSerializeQDataStream_boost_optional.h
 

Provide a Qt QDataStream serialization method (save/load) for type boost::optional<T>


file  QxSerializeQDataStream_boost_scoped_ptr.h
 

Provide a Qt QDataStream serialization method (save/load) for type boost::scoped_ptr<T>


file  QxSerializeQDataStream_boost_shared_ptr.h
 

Provide a Qt QDataStream serialization method (save/load) for type boost::shared_ptr<T>


file  QxSerializeQDataStream_boost_tuple.h
 

Provide a Qt QDataStream serialization method (save/load) for type boost::tuple<T0, T1, ..., T9>


file  QxSerializeQDataStream_boost_unordered_map.h
 

Provide a Qt QDataStream serialization method (save/load) for type boost::unordered_map<Key, Value> and boost::unordered_multimap<Key, Value>


file  QxSerializeQDataStream_boost_unordered_set.h
 

Provide a Qt QDataStream serialization method (save/load) for type boost::unordered_set<T> and boost::unordered_multiset<T>


file  QxSerializeQDataStream_primitive_type.h
 

Provide a Qt QDataStream serialization method (save/load) for primitive types (long, etc...)


file  QxSerializeQDataStream_QFlags.h
 

Provide a Qt QDataStream serialization method (save/load) for type QFlags<T>


file  QxSerializeQDataStream_QObject.h
 

Provide a Qt QDataStream serialization method (save/load) for type QObject (serialize dynamic properties)


file  QxSerializeQDataStream_QSharedPointer.h
 

Provide a Qt QDataStream serialization method (save/load) for type QSharedPointer<T>


file  QxSerializeQDataStream_QSqlError.h
 

Provide a Qt QDataStream serialization method (save/load) for type QSqlError.


file  QxSerializeQDataStream_QWeakPointer.h
 

Provide a Qt QDataStream serialization method (save/load) for type QWeakPointer<T>


file  QxSerializeQDataStream_qx_registered_class.h
 

Provide a generic Qt QDataStream serialization method (save/load) for classes registered into QxOrm context (void qx::register_class<MyClass>() function), it is possible to specialize qx::QxSerializeRegistered<T> template to implement your own serialization method for a specific class.


file  QxSerializeQDataStream_std_list.h
 

Provide a Qt QDataStream serialization method (save/load) for type std::list<T>


file  QxSerializeQDataStream_std_map.h
 

Provide a Qt QDataStream serialization method (save/load) for type std::map<Key, Value>


file  QxSerializeQDataStream_std_pair.h
 

Provide a Qt QDataStream serialization method (save/load) for type std::pair<T0, T1>


file  QxSerializeQDataStream_std_set.h
 

Provide a Qt QDataStream serialization method (save/load) for type std::set<T>


file  QxSerializeQDataStream_std_string.h
 

Provide a Qt QDataStream serialization method (save/load) for type std::string and std::wstring.


file  QxSerializeQDataStream_std_vector.h
 

Provide a Qt QDataStream serialization method (save/load) for type std::vector<T>


file  QxArchive.h
 

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


file  QxClone.h
 

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


file  QxDump.h
 

Dump all classes registered into QxOrm context using XML serialization engine.


file  QxSerialize.h
 

Include all files necessary to serialize most used classes defined into stl, boost and Qt libraries.


file  QxSerializeQDataStream.h
 

Used when _QX_ENABLE_BOOST_SERIALIZATION compilation option is not defined to provide serialization engine with Qt QDataStream class.


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 >
qx_shared_ptr< T > qx::clone (const T &obj)
 qx::clone(const T & obj) : return a boost smart-pointer (qx_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 >
void qx::dump (const T &t)
 qx::dump(const T & t) : dump class of type T registered into QxOrm context using XML serialization engine

Function Documentation

template<class T >
qx_shared_ptr<T> qx::clone ( const T &  obj)

qx::clone(const T & obj) : return a boost smart-pointer (qx_shared_ptr<T>) of a new instance of type T cloned from obj

Definition at line 128 of file QxClone.h.

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

Definition at line 136 of file QxClone.h.

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

Definition at line 78 of file QxClone.h.

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

Definition at line 144 of file QxClone.h.

template<class T >
void qx::dump ( const T &  t)

qx::dump(const T & t) : dump class of type T registered into QxOrm context using XML serialization engine

Definition at line 62 of file QxDump.h.