webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Functions | Variables
descriptor.h File Reference
#include <memory>
#include <google/protobuf/stubs/shared_ptr.h>
#include <set>
#include <string>
#include <vector>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/scoped_ptr.h>

Go to the source code of this file.

Classes

struct  google::protobuf::SourceLocation
 
struct  google::protobuf::DebugStringOptions
 
class  google::protobuf::Descriptor
 
struct  google::protobuf::Descriptor::ExtensionRange
 
struct  google::protobuf::Descriptor::ReservedRange
 
class  google::protobuf::FieldDescriptor
 
class  google::protobuf::OneofDescriptor
 
class  google::protobuf::EnumDescriptor
 
class  google::protobuf::EnumValueDescriptor
 
class  google::protobuf::ServiceDescriptor
 
class  google::protobuf::MethodDescriptor
 
class  google::protobuf::FileDescriptor
 
class  google::protobuf::DescriptorPool
 
class  google::protobuf::DescriptorPool::ErrorCollector
 

Namespaces

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

Macros

#define PROTOBUF_DEFINE_ACCESSOR(CLASS, FIELD, TYPE)   inline TYPE CLASS::FIELD() const { return FIELD##_; }
 
#define PROTOBUF_DEFINE_STRING_ACCESSOR(CLASS, FIELD)   inline const string& 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_OPTIONS_ACCESSOR(CLASS, TYPE)   inline const TYPE& CLASS::options() const { return *options_; }
 

Functions

 google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (Descriptor, extension_range, const Descriptor::ExtensionRange *) PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor
 
const FieldDescriptorgoogle::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (Descriptor, reserved_range, const Descriptor::ReservedRange *) PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor
 
const FieldDescriptor const OneofDescriptorgoogle::protobuf::PROTOBUF_DEFINE_ACCESSOR (FieldDescriptor, default_value_enum, const EnumValueDescriptor *) PROTOBUF_DEFINE_ARRAY_ACCESSOR(EnumDescriptor
 
const FieldDescriptor const OneofDescriptor const EnumValueDescriptor * google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (ServiceDescriptor, method, const MethodDescriptor *) PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor
 
const FieldDescriptor const OneofDescriptor const EnumValueDescriptor const ServiceDescriptor * google::protobuf::PROTOBUF_DEFINE_ARRAY_ACCESSOR (FileDescriptor, extension, const FieldDescriptor *) inline bool Descriptor
 

Variables

 google::protobuf::extension
 
const FieldDescriptor google::protobuf::containing_oneof
 
const FieldDescriptor const OneofDescriptor google::protobuf::value
 
const FieldDescriptor const OneofDescriptor const EnumValueDescriptor google::protobuf::service
 

Macro Definition Documentation

◆ PROTOBUF_DEFINE_ACCESSOR

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

◆ PROTOBUF_DEFINE_ARRAY_ACCESSOR

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

◆ PROTOBUF_DEFINE_OPTIONS_ACCESSOR

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

◆ PROTOBUF_DEFINE_STRING_ACCESSOR

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