Namespaces | Macros
protobuf/src/google/protobuf/util/field_mask_util.cc File Reference
#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>
Include dependency graph for protobuf/src/google/protobuf/util/field_mask_util.cc:

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::util
 

Macros

#define COPY_REPEATED_VALUE(TYPE, Name)
 
#define COPY_VALUE(TYPE, Name)
 

Macro Definition Documentation

◆ COPY_REPEATED_VALUE

#define COPY_REPEATED_VALUE (   TYPE,
  Name 
)
Value:
case FieldDescriptor::CPPTYPE_##TYPE: { \
int size = source_reflection->FieldSize(source, field); \
for (int i = 0; i < size; ++i) { \
destination_reflection->Add##Name( \
destination, field, \
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; \
}

Variable Documentation

◆ children

std::map<std::string, Node*> children

◆ root_

Node root_
private
field
const FieldDescriptor * field
Definition: bloaty/third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc:2692
TYPE
#define TYPE(u, l)
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/upb.c:8202
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
i
uint64_t i
Definition: abseil-cpp/absl/container/btree_benchmark.cc:230


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:12