32#ifdef _QX_ENABLE_BOOST_SERIALIZATION
33#ifndef _QX_BOOST_SERIALIZE_REGISTER_HELPER_X_H_
34#define _QX_BOOST_SERIALIZE_REGISTER_HELPER_X_H_
40#include <QtCore/qmutex.h>
72 template <
class Archive>
73 static inline void helper(Archive & ar)
74#if _QX_USE_BOOST_SERIALIZE_REGISTER_HELPER
75 { QxBoostSerializeRegisterHelperX::getSingleton()->private_helper(ar); }
81#if _QX_USE_BOOST_SERIALIZE_REGISTER_HELPER
82 { QxBoostSerializeRegisterHelperX::getSingleton()->private_helper(); }
89 template <
class Archive>
92 static bool bDone =
false;
93 if (bDone) {
return; }
94 QMutexLocker locker(
const_cast<QMutex *
>(& m_oMutexHelperX));
95 if (bDone) {
return; }
102 static bool bDone =
false;
103 if (bDone) {
return; }
104 QMutexLocker locker(
const_cast<QMutex *
>(& m_oMutexHelperX));
105 if (bDone) {
return; }
QxOrm thread-safe container (keep insertion order + quick access by index + quick access by key)
List of parameters to compile and build QxOrm library.
foreach-style (based on BOOST_FOREACH macro) to iterate over all stl, boost and Qt containers + qx::Q...
#define QX_DLL_EXPORT_QX_SINGLETON_HPP(x)
Concrete class to define a thread-safe singleton of QxOrm library.
virtual void helper() const =0
static void helper(Archive &ar)
void add(const QString &sKey, IxBoostSerializeRegisterHelper *p)
void remove(const QString &sKey)
void private_helper(Archive &ar) const
QxBoostSerializeRegisterHelperX()
QxCollection< QString, IxBoostSerializeRegisterHelper * > m_colHelperX
virtual ~QxBoostSerializeRegisterHelperX()
void private_helper() const
qx::QxCollection<Key, Value> : QxOrm thread-safe container (keep insertion order + quick access by in...
qx::QxSingleton<T> : concrete class to define a thread-safe singleton of type T
Root namespace for all QxOrm library features.