enum_define.hpp

This File On Github
Ask A Question

API: latest
module: oatpp
#include "oatpp/codegen/dto/enum_define.hpp"

VALUE

Enum entry value.

  • @param NAME - name of the enum. required.
  • @param ORDINAL_VALUE - corresponding ordinal value. required.
  • @param QUALIFIER - name qualifier to be used instead of the NAME. optional.
  • @param DESCRIPTION - description of the enum value. optional.

#define VALUE(NAME, ...)

ENUM

Codegen macoro to generate oatpp mapping-enabled enum.

  • @param NAME - name of the enum. required.
  • @param UNDERLYING_TYPE - underlying ordinal type. required.
  • @param ... - enum values defined with VALUE(...). macro.

#define ENUM(NAME, ...)