#include <string>
#include <vector>
#include <algorithm>
#include "gazebo/common/Assert.hh"
Go to the source code of this file.
§ GZ_ENUM
#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__};