#include <string>
#include <google/protobuf/generated_enum_reflection.h>
Go to the source code of this file.
◆ IROHA_DEFINE_PROTO_ENUM_TO_STRING
| #define IROHA_DEFINE_PROTO_ENUM_TO_STRING |
( |
|
EnumType | ) |
|
Value: namespace to_string { \
inline std::string
toString(
const EnumType &val) { \
const ::google::protobuf::EnumDescriptor *const descriptor = \
::google::protobuf::GetEnumDescriptor<EnumType>(); \
return ::google::protobuf::internal::NameOfEnum(descriptor, val); \
} \
} \
}
Definition: block_query.hpp:15
std::string toString(const ::iroha::utility_service::Status &val)
Definition: proto_status_tools.cpp:56
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0