Namespaces | Macros | Functions
protobuf/src/google/protobuf/reflection_ops.cc File Reference
#include <google/protobuf/reflection_ops.h>
#include <string>
#include <vector>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/map_field.h>
#include <google/protobuf/map_field_inl.h>
#include <google/protobuf/unknown_field_set.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/reflection_ops.cc:

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define HANDLE_TYPE(CPPTYPE, METHOD)
 
#define HANDLE_TYPE(CPPTYPE, METHOD)
 

Functions

PROTOBUF_EXPORT void google.protobuf.internal::GenericSwap (Message *m1, Message *m2)
 
static const Reflection * google.protobuf.internal::GetReflectionOrDie (const Message &m)
 
static bool google.protobuf.internal::IsMapValueMessageTyped (const FieldDescriptor *map_field)
 
static std::string google.protobuf.internal::SubMessagePrefix (const std::string &prefix, const FieldDescriptor *field, int index)
 

Macro Definition Documentation

◆ HANDLE_TYPE [1/2]

#define HANDLE_TYPE (   CPPTYPE,
  METHOD 
)
Value:
case FieldDescriptor::CPPTYPE_##CPPTYPE: \
to_reflection->Add##METHOD( \
to, field, from_reflection->GetRepeated##METHOD(from, field, j)); \
break;

◆ HANDLE_TYPE [2/2]

#define HANDLE_TYPE (   CPPTYPE,
  METHOD 
)
Value:
case FieldDescriptor::CPPTYPE_##CPPTYPE: \
to_reflection->Set##METHOD(to, field, \
from_reflection->Get##METHOD(from, field)); \
break;
to
size_t to
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1385
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
field
const FieldDescriptor * field
Definition: bloaty/third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc:2692


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