From b5b8de1b3005ff6c6e3659d32b851a85f6671d88 Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Sun, 23 Aug 2020 17:40:25 +0200 Subject: added some helper functions and a nice enum for annotation handling, as well as an more complex reply example (multi annotaion, link annotation --- src/Enum2String.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/Enum2String.cpp (limited to 'src/Enum2String.cpp') diff --git a/src/Enum2String.cpp b/src/Enum2String.cpp new file mode 100644 index 0000000..e64b6ea --- /dev/null +++ b/src/Enum2String.cpp @@ -0,0 +1,9 @@ +/// The strings associated with the enums are generated here +///////////////////////////////////////////////////////////////////// +#include + +#include "AnnotationTypes.hpp" + +#define GENERATE_ENUM_STRINGS // Start string generation +#include "AnnotationTypes.hpp" +#undef GENERATE_ENUM_STRINGS // Stop string generation \ No newline at end of file -- cgit v1.2.3-54-g00ecf