#include <descriptor.h>
Public Types | |
typedef OneofDescriptorProto | Proto |
Public Member Functions | |
const Descriptor * | containing_type () const |
void | CopyTo (OneofDescriptorProto *proto) const |
std::string | DebugString () const |
std::string | DebugStringWithOptions (const DebugStringOptions &options) const |
const FieldDescriptor * | field (int index) const |
int | field_count () const |
const FileDescriptor * | file () const |
const std::string & | full_name () const |
bool | GetSourceLocation (SourceLocation *out_location) const |
int | index () const |
const std::string & | name () const |
const OneofOptions & | options () const |
Private Types | |
typedef OneofOptions | OptionsType |
Private Member Functions | |
void | DebugString (int depth, std::string *contents, const DebugStringOptions &options) const |
void | GetLocationPath (std::vector< int > *output) const |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OneofDescriptor) | |
OneofDescriptor () | |
Private Attributes | |
const Descriptor * | containing_type_ |
int | field_count_ |
const FieldDescriptor ** | fields_ |
const std::string * | full_name_ |
const std::string * | name_ |
const OneofOptions * | options_ |
Friends | |
class | compiler::cpp::Formatter |
class | Descriptor |
class | DescriptorBuilder |
class | io::Printer |
Definition at line 843 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 883 of file src/google/protobuf/descriptor.h.
typedef OneofDescriptorProto google::protobuf::OneofDescriptor::Proto |
Definition at line 845 of file src/google/protobuf/descriptor.h.
|
inlineprivate |
Definition at line 909 of file src/google/protobuf/descriptor.h.
const Descriptor* google::protobuf::OneofDescriptor::containing_type | ( | ) | const |
void OneofDescriptor::CopyTo | ( | OneofDescriptorProto * | proto | ) | const |
Definition at line 2176 of file src/google/protobuf/descriptor.cc.
std::string OneofDescriptor::DebugString | ( | ) | const |
Definition at line 2750 of file src/google/protobuf/descriptor.cc.
|
private |
Definition at line 2762 of file src/google/protobuf/descriptor.cc.
std::string OneofDescriptor::DebugStringWithOptions | ( | const DebugStringOptions & | options | ) | const |
Definition at line 2755 of file src/google/protobuf/descriptor.cc.
|
inline |
Definition at line 2179 of file src/google/protobuf/descriptor.h.
int google::protobuf::OneofDescriptor::field_count | ( | ) | const |
|
inline |
Definition at line 2099 of file src/google/protobuf/descriptor.h.
const std::string& google::protobuf::OneofDescriptor::full_name | ( | ) | const |
|
private |
Definition at line 3063 of file src/google/protobuf/descriptor.cc.
bool OneofDescriptor::GetSourceLocation | ( | SourceLocation * | out_location | ) | const |
Definition at line 3004 of file src/google/protobuf/descriptor.cc.
|
private |
|
inline |
Definition at line 2103 of file src/google/protobuf/descriptor.h.
const std::string& google::protobuf::OneofDescriptor::name | ( | ) | const |
const OneofOptions& google::protobuf::OneofDescriptor::options | ( | ) | const |
|
friend |
Definition at line 887 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 911 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 910 of file src/google/protobuf/descriptor.h.
|
friend |
Definition at line 886 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 899 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 900 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 901 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 898 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 897 of file src/google/protobuf/descriptor.h.
|
private |
Definition at line 902 of file src/google/protobuf/descriptor.h.