VR-Vantage 3.0 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros

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

Macros

#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

Macro Definition Documentation

#define DT_DECLARE_serialize_FUNCTIONS
Value:
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.

#define DT_DECLARE_PORTABLE_serialize_FUNCTIONS
Value:
void serialize(portable_binary_oarchive&, const unsigned int version = 0);\
void serialize(portable_binary_iarchive&, const unsigned int version = 0);
#define DT_DECLARE_ALL_serialize_FUNCTIONS
Value:
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)


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)