#include <atomic>
#include <functional>
#include <google/protobuf/arena.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/map_entry.h>
#include <google/protobuf/map_field_lite.h>
#include <google/protobuf/map_type_handler.h>
#include <google/protobuf/message.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/port.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Go to the source code of this file.
◆ HANDLE_TYPE
#define HANDLE_TYPE |
( |
|
CPPTYPE, |
|
|
|
TYPE |
|
) |
| |
Value: case FieldDescriptor::CPPTYPE_##CPPTYPE: { \
break; \
}
◆ TYPE_CHECK
#define TYPE_CHECK |
( |
|
EXPECTEDTYPE, |
|
|
|
METHOD |
|
) |
| |
Value: if (
type() != EXPECTEDTYPE) { \
GOOGLE_LOG(
FATAL) <<
"Protocol Buffer map usage error:\n" \
<< METHOD << " type does not match\n" \
<< " Expected : " \
<< FieldDescriptor::CppTypeName(EXPECTEDTYPE) << "\n" \
<<
" Actual : " << FieldDescriptor::CppTypeName(
type()); \
}
Definition at line 62 of file protobuf/src/google/protobuf/map_field.h.