Classes | Namespaces | Macros | Functions | Variables
protobuf/src/google/protobuf/descriptor.h File Reference
#include <atomic>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <vector>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/port.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/descriptor.h:

Go to the source code of this file.

Classes

struct  google::protobuf::DebugStringOptions
 
class  google::protobuf::Descriptor
 
class  google::protobuf::DescriptorPool
 
class  google::protobuf::EnumDescriptor
 
class  google::protobuf::EnumValueDescriptor
 
class  google::protobuf::DescriptorPool::ErrorCollector
 
struct  google::protobuf::Descriptor::ExtensionRange
 
class  google::protobuf::FieldDescriptor
 
class  google::protobuf::FileDescriptor
 
class  google::protobuf.internal::LazyDescriptor
 
struct  google::protobuf::FileDescriptor::LazyInitData
 
class  google::protobuf::MethodDescriptor
 
class  google::protobuf::OneofDescriptor
 
struct  google::protobuf::EnumDescriptor::ReservedRange
 
struct  google::protobuf::Descriptor::ReservedRange
 
class  google::protobuf::ServiceDescriptor
 
struct  google::protobuf::SourceLocation
 
class  google::protobuf.internal::SymbolBase
 
class  google::protobuf.internal::SymbolBaseN< N >
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::cpp
 
 google::protobuf::descriptor_unittest
 
 google.protobuf.internal
 
 google::protobuf::io
 

Macros

#define PROTOBUF_DEFINE_ACCESSOR(CLASS, FIELD, TYPE)   inline TYPE CLASS::FIELD() const { return FIELD##_; }
 
#define PROTOBUF_DEFINE_ARRAY_ACCESSOR(CLASS, FIELD, TYPE)   inline TYPE CLASS::FIELD(int index) const { return FIELD##s_ + index; }
 
#define PROTOBUF_DEFINE_NAME_ACCESSOR(CLASS)
 
#define PROTOBUF_DEFINE_OPTIONS_ACCESSOR(CLASS, TYPE)   inline const TYPE& CLASS::options() const { return *options_; }
 
#define PROTOBUF_DEFINE_STRING_ACCESSOR(CLASS, FIELD)   inline const std::string& CLASS::FIELD() const { return *FIELD##_; }
 

Functions

 google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (Descriptor, extension_range, const Descriptor::ExtensionRange *) PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor
 
const Descriptor::ReservedRange * google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (EnumDescriptor, value, const EnumValueDescriptor *) PROTOBUF_DEFINE_ARRAY_ACCESSOR(EnumDescriptor
 
const Descriptor::ReservedRange const EnumDescriptor::ReservedRange const ServiceDescriptor * google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (FileDescriptor, extension, const FieldDescriptor *) inline Descriptor
 
const Descriptor::ReservedRange const EnumDescriptor::ReservedRange * google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (ServiceDescriptor, method, const MethodDescriptor *) PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor
 

Variables

const Descriptor::ReservedRange const EnumDescriptor::ReservedRange google::protobuf::service
 

Macro Definition Documentation

◆ PROTOBUF_DEFINE_ACCESSOR

#define PROTOBUF_DEFINE_ACCESSOR (   CLASS,
  FIELD,
  TYPE 
)    inline TYPE CLASS::FIELD() const { return FIELD##_; }

Definition at line 2060 of file protobuf/src/google/protobuf/descriptor.h.

◆ PROTOBUF_DEFINE_ARRAY_ACCESSOR

#define PROTOBUF_DEFINE_ARRAY_ACCESSOR (   CLASS,
  FIELD,
  TYPE 
)    inline TYPE CLASS::FIELD(int index) const { return FIELD##s_ + index; }

Definition at line 2073 of file protobuf/src/google/protobuf/descriptor.h.

◆ PROTOBUF_DEFINE_NAME_ACCESSOR

#define PROTOBUF_DEFINE_NAME_ACCESSOR (   CLASS)
Value:
inline const std::string& CLASS::name() const { return all_names_[0]; } \
inline const std::string& CLASS::full_name() const { return all_names_[1]; }

Definition at line 2068 of file protobuf/src/google/protobuf/descriptor.h.

◆ PROTOBUF_DEFINE_OPTIONS_ACCESSOR

#define PROTOBUF_DEFINE_OPTIONS_ACCESSOR (   CLASS,
  TYPE 
)    inline const TYPE& CLASS::options() const { return *options_; }

Definition at line 2076 of file protobuf/src/google/protobuf/descriptor.h.

◆ PROTOBUF_DEFINE_STRING_ACCESSOR

#define PROTOBUF_DEFINE_STRING_ACCESSOR (   CLASS,
  FIELD 
)    inline const std::string& CLASS::FIELD() const { return *FIELD##_; }

Definition at line 2064 of file protobuf/src/google/protobuf/descriptor.h.

testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
setup.name
name
Definition: setup.py:542


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