#include <google/protobuf/util/field_comparator.h>
#include <limits>
#include <string>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/message.h>
#include <google/protobuf/util/message_differencer.h>
#include <google/protobuf/stubs/map_util.h>
#include <google/protobuf/stubs/mathutil.h>
Go to the source code of this file.
◆ COMPARE_FIELD
#define COMPARE_FIELD |
( |
|
METHOD | ) |
|
Value: if (
field->is_repeated()) { \
return ResultFromBoolean(
Compare##METHOD( \
*
field, reflection_1->GetRepeated##METHOD(message_1,
field, index_1), \
reflection_2->GetRepeated##METHOD(message_2,
field, index_2))); \
} else { \
return ResultFromBoolean( \
reflection_2->Get##METHOD(message_2,
field))); \
} \
break;