Go to the documentation of this file.
28 #include <boost/serialization/access.hpp>
29 #include <boost/serialization/nvp.hpp>
30 #include <boost/serialization/split_free.hpp>
39 template <
class Archive>
42 int value =
static_cast<int>(g);
43 ar& BOOST_SERIALIZATION_NVP(value);
46 template <
class Archive>
50 ar& BOOST_SERIALIZATION_NVP(value);
54 template <
class Archive>
57 split_free(ar, g, version);
68 template <
class Archive>
71 ar& BOOST_SERIALIZATION_NVP(
type_);
bool operator!=(const Command &rhs) const
bool operator==(const Command &rhs) const
#define TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(Type)
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
This contains classes for recording operations applied to the environment for tracking changes....
void serialize(Archive &ar, CommandType &g, const unsigned int version)
void serialize(Archive &ar, const unsigned int version)
void load(Archive &ar, CommandType &g, const unsigned int version)
Command(CommandType type=CommandType::UNINITIALIZED)
void save(Archive &ar, const CommandType &g, const unsigned int version)