Macros
EnumIface.hh File Reference
#include <string>
#include <vector>
#include <algorithm>
#include "gazebo/common/Assert.hh"
Include dependency graph for EnumIface.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GZ_ENUM(enumType, begin, end,...)
 

Macro Definition Documentation

#define GZ_ENUM (   enumType,
  begin,
  end,
  ... 
)
Value:
template<> enumType common::EnumIface<enumType>::range[] = {begin, end}; \
template<> std::vector<std::string> common::EnumIface<enumType>::names = \
{__VA_ARGS__};