MIRA
|
A replacement for enum that can be extended in subclasses. More...
#include <type_traits>
#include <boost/preprocessor/tuple/to_seq.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/thread/mutex.hpp>
#include <utils/VariadicMacro.h>
#include <serialization/SplitReflect.h>
#include <serialization/JSONSerializer.h>
Go to the source code of this file.
Classes | |
struct | NoValueEnum< T > |
struct | AutoCountingHelper< T, CountType, UseMutex > |
struct | AutoCountingHelper< T, CountType, true > |
struct | AutoCountingEnum< T, CountType, UseMutex > |
struct | ExtensibleEnumBase< T, Counting, CountType, UseMutex > |
struct | ExtensibleEnumBase< T, true, CountType, UseMutex > |
struct | ExtensibleEnum< T, UseID, Counting, CountType, UseMutex > |
ExtensibleEnum is a base for derived classes that can be extensible 'replacements' for enum types. More... | |
struct | ExtensibleEnum< T, true, Counting, CountType, UseMutex > |
struct | ExtEnum_RemoveBrackets< typename > |
struct | ExtEnum_RemoveBrackets< void(T)> |
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
mira::detail | |
Macros | |
#define | MIRA_EXTENUM_DECLARE_VALUE(R, ENUMNAME, VALUENAME) const static ENUMNAME VALUENAME; |
#define | MIRA_EXTENSIBLE_ENUM_DECLARE(NAME, BASE, VALUES...) |
#define | MIRA_EXTENUM_DEFINE_VALUE(R, ENUMNAME, VALUENAME) const ENUMNAME ENUMNAME::VALUENAME; |
#define | MIRA_EXTENSIBLE_ENUM_DEFINE(NAME, VALUES...) |
A replacement for enum that can be extended in subclasses.
#define MIRA_EXTENUM_DECLARE_VALUE | ( | R, | |
ENUMNAME, | |||
VALUENAME | |||
) | const static ENUMNAME VALUENAME; |
#define MIRA_EXTENSIBLE_ENUM_DECLARE | ( | NAME, | |
BASE, | |||
VALUES... | |||
) |
#define MIRA_EXTENUM_DEFINE_VALUE | ( | R, | |
ENUMNAME, | |||
VALUENAME | |||
) | const ENUMNAME ENUMNAME::VALUENAME; |
#define MIRA_EXTENSIBLE_ENUM_DEFINE | ( | NAME, | |
VALUES... | |||
) |