farm-ng-core
enum_without_iostream.h File Reference
Include dependency graph for enum_without_iostream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FARM_ENUM_WITHOUT_IOSTREAM_DEF(NAME, ...)   FARM_ENUM_DEF_IMPL(NAME, __VA_ARGS__)
 
#define FARM_ENUM_ALIAS(NAME)   using NAME = enum_wrapper_::NAME##Impl
 
#define FARM_ENUM_WITHOUT_IOSTREAM(NAME, ...)
 

Macro Definition Documentation

◆ FARM_ENUM_ALIAS

#define FARM_ENUM_ALIAS (   NAME)    using NAME = enum_wrapper_::NAME##Impl

◆ FARM_ENUM_WITHOUT_IOSTREAM

#define FARM_ENUM_WITHOUT_IOSTREAM (   NAME,
  ... 
)
Value:
FARM_ENUM_WITHOUT_IOSTREAM_DEF(NAME, __VA_ARGS__) \
FARM_ENUM_ALIAS(NAME)

◆ FARM_ENUM_WITHOUT_IOSTREAM_DEF

#define FARM_ENUM_WITHOUT_IOSTREAM_DEF (   NAME,
  ... 
)    FARM_ENUM_DEF_IMPL(NAME, __VA_ARGS__)
FARM_ENUM_WITHOUT_IOSTREAM_DEF
#define FARM_ENUM_WITHOUT_IOSTREAM_DEF(NAME,...)
Definition: enum_without_iostream.h:32