![]() |
Tesseract 0.28.4
|
Serialization class extension macros and helpers. More...
#include <tesseract/common/macros.h>#include <boost/mpl/string.hpp>#include <tesseract/common/sfinae_utils.h>Macros | |
| #define | TESSERACT_CLASS_EXTENSION(T, X, J, B) |
| A macro for defining serialization extension for classes. | |
Functions | |
| TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP | CREATE_MEMBER_CHECK (extension_type) |
Serialization class extension macros and helpers.
| #define TESSERACT_CLASS_EXTENSION | ( | T, | |
| X, | |||
| J, | |||
| B | |||
| ) |
A macro for defining serialization extension for classes.
The extension should include the '.', for example .yaml
| T | the class to define extensions for |
| X | the xml serialziation extension for the provided class |
| J | the json serialziation extension for the provided class |
| B | the binary serialzation extension for the provided class |