#include <any_poly.h>

Public Member Functions | |
| AnyWrapper ()=default | |
| AnyWrapper (const T &value_) | |
| AnyWrapper (T &&value_) | |
| std::unique_ptr< AnyInterface > | clone () const override final |
| Make a deep copy of the object. More... | |
| bool | equals (const AnyInterface &other) const override final |
| Check if two objects are equal. More... | |
| std::type_index | getType () const override final |
| Get the type index of the object stored. More... | |
Public Member Functions inherited from tesseract_common::AnyInterface | |
| bool | operator!= (const AnyInterface &rhs) const |
| bool | operator== (const AnyInterface &rhs) const |
| virtual | ~AnyInterface ()=default |
Public Attributes | |
| T | value {} |
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
Friends | |
| class | boost::serialization::access |
| struct | tesseract_common::Serialization |
Additional Inherited Members |
Definition at line 80 of file any_poly.h.
|
default |
|
inlineexplicit |
Definition at line 84 of file any_poly.h.
|
inlineexplicit |
Definition at line 85 of file any_poly.h.
|
inlinefinaloverridevirtual |
Make a deep copy of the object.
Implements tesseract_common::AnyInterface.
Definition at line 89 of file any_poly.h.
|
inlinefinaloverridevirtual |
Check if two objects are equal.
| other | The other object to compare with |
Implements tesseract_common::AnyInterface.
Definition at line 91 of file any_poly.h.
|
inlinefinaloverridevirtual |
Get the type index of the object stored.
Reimplemented from tesseract_common::AnyInterface.
Definition at line 87 of file any_poly.h.
|
inlineprivate |
Definition at line 106 of file any_poly.h.
|
friend |
Definition at line 103 of file any_poly.h.
|
friend |
Definition at line 104 of file any_poly.h.
| T tesseract_common::AnyWrapper< T >::value {} |
Definition at line 100 of file any_poly.h.