#include <google/protobuf/util/field_mask_util.h>
#include <cstdint>
#include <google/protobuf/message.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/map_util.h>
#include <google/protobuf/port_def.inc>
Go to the source code of this file.
◆ COPY_REPEATED_VALUE
#define COPY_REPEATED_VALUE |
( |
|
TYPE, |
|
|
|
Name |
|
) |
| |
Value: case FieldDescriptor::CPPTYPE_##
TYPE: { \
int
size = source_reflection->FieldSize(source,
field); \
destination_reflection->Add##Name( \
source_reflection->GetRepeated##Name(source,
field,
i)); \
} \
break; \
}
◆ COPY_VALUE
#define COPY_VALUE |
( |
|
TYPE, |
|
|
|
Name |
|
) |
| |
Value: case FieldDescriptor::CPPTYPE_##
TYPE: { \
if (source_reflection->HasField(source,
field)) { \
destination_reflection->Set##Name( \
destination,
field, source_reflection->Get##Name(source,
field)); \
} else { \
destination_reflection->ClearField(destination,
field); \
} \
break; \
}
◆ children
◆ root_