Go to the documentation of this file.
29 #include <boost/serialization/nvp.hpp>
30 #include <boost/serialization/unique_ptr.hpp>
31 #if (BOOST_VERSION >= 107400) && (BOOST_VERSION < 107500)
32 #include <boost/serialization/library_version_type.hpp>
34 #include <boost/serialization/unordered_map.hpp>
50 template <
class Archive>
74 return typeid(
nullptr);
76 return impl_->getType();
100 template <
class Archive>
103 ar& boost::serialization::make_nvp(
"impl",
impl_);
virtual std::type_index getType() const
Get the type index of the object stored.
AnyInterface & get()
Get the instruction being stored.
void serialize(Archive &ar, const unsigned int version)
bool operator!=(const AnyPoly &rhs) const
#define TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(Type)
bool operator==(const AnyPoly &rhs) const
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
void serialize(Archive &ar, const unsigned int version)
std::type_index getType() const
Get the stored derived type.
virtual bool equals(const AnyInterface &other) const =0
Check if two objects are equal.
std::unique_ptr< AnyInterface > impl_
AnyPoly & operator=(const AnyPoly &other)
bool operator!=(const AnyInterface &rhs) const
#define TESSERACT_COMMON_IGNORE_WARNINGS_POP
Additional Boost serialization wrappers.
bool operator==(const AnyInterface &rhs) const
bool isNull() const
Check if the poly type is null.
tesseract_common
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:40