VR-Forces 4.0.4 Class Documentation
Namespaces | Defines
include/makArchives/DtSerialize.h File Reference

Go to the source code of this file.

Namespaces

namespace  boost
 When building with Qt, the Moc keywords signals and slots are defined using preprocessor macros, causing programs using Boost.Signals and Qt together to fail to compile.
namespace  boost::archive
namespace  boost::serialization

Defines

#define DT_DECLARE_serialize_FUNCTIONS
 Declare all the serialize functions to use.
#define DT_DECLARE_PORTABLE_serialize_FUNCTIONS
#define DT_DECLARE_ALL_serialize_FUNCTIONS
#define DT_SERIALIZE(NAME)   boost::serialization::make_nvp(BOOST_PP_STRINGIZE(NAME),NAME)
 Serialize a variable using the variables own name.
#define DT_SERIALIZE_REMOVE_PREFIX(NAME, PREFIX_SIZE)   boost::serialization::make_nvp(BOOST_PP_STRINGIZE(NAME) + PREFIX_SIZE,NAME)
 Helper macro to serialize a variable and but with a name that starts several characters in (not that this is VERY DANGEROUS unless the prefix size is completely constant (like 'my' or 'the' or 'm_')
#define DT_SERIALIZE_MEMBER(NAME)   DT_SERIALIZE_REMOVE_PREFIX(NAME,2)
 Serialize a Member whose name starts with 'my' If your member does not have that name, use Dt_SERIALIZE.
#define DT_SERIALIZE_BASE(BASE_CLASS)   BOOST_SERIALIZATION_BASE_OBJECT_NVP(BASE_CLASS)
 Serialize the base class implementation.

Detailed Description


Define Documentation

Value:
friend class boost::serialization::access;\
   void serialize(boost::archive::xml_oarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::xml_iarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::binary_oarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::binary_iarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::text_oarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::text_iarchive&, const unsigned int version = 0);

Declare all the serialize functions to use.

Value:
friend class boost::serialization::access;\
   void serialize(portable_binary_oarchive&, const unsigned int version = 0);\
   void serialize(portable_binary_iarchive&, const unsigned int version = 0);
Value:
friend class boost::serialization::access;\
   void serialize(boost::archive::xml_oarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::xml_iarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::binary_oarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::binary_iarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::text_oarchive&, const unsigned int version = 0);\
   void serialize(boost::archive::text_iarchive&, const unsigned int version = 0);\
   void serialize(portable_binary_oarchive&, const unsigned int version = 0);\
   void serialize(portable_binary_iarchive&, const unsigned int version = 0);
#define DT_SERIALIZE (   NAME)    boost::serialization::make_nvp(BOOST_PP_STRINGIZE(NAME),NAME)

Serialize a variable using the variables own name.

#define DT_SERIALIZE_REMOVE_PREFIX (   NAME,
  PREFIX_SIZE 
)    boost::serialization::make_nvp(BOOST_PP_STRINGIZE(NAME) + PREFIX_SIZE,NAME)

Helper macro to serialize a variable and but with a name that starts several characters in (not that this is VERY DANGEROUS unless the prefix size is completely constant (like 'my' or 'the' or 'm_')

#define DT_SERIALIZE_MEMBER (   NAME)    DT_SERIALIZE_REMOVE_PREFIX(NAME,2)
#define DT_SERIALIZE_BASE (   BASE_CLASS)    BOOST_SERIALIZATION_BASE_OBJECT_NVP(BASE_CLASS)

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)