#include <descriptor.h>
|
| enum | CppType {
CPPTYPE_INT32 = 1,
CPPTYPE_INT64 = 2,
CPPTYPE_UINT32 = 3,
CPPTYPE_UINT64 = 4,
CPPTYPE_DOUBLE = 5,
CPPTYPE_FLOAT = 6,
CPPTYPE_BOOL = 7,
CPPTYPE_ENUM = 8,
CPPTYPE_STRING = 9,
CPPTYPE_MESSAGE = 10,
MAX_CPPTYPE = 10
} |
| |
| enum | Label { LABEL_OPTIONAL = 1,
LABEL_REQUIRED = 2,
LABEL_REPEATED = 3,
MAX_LABEL = 3
} |
| |
| typedef FieldDescriptorProto | Proto |
| |
| enum | Type {
TYPE_DOUBLE = 1,
TYPE_FLOAT = 2,
TYPE_INT64 = 3,
TYPE_UINT64 = 4,
TYPE_INT32 = 5,
TYPE_FIXED64 = 6,
TYPE_FIXED32 = 7,
TYPE_BOOL = 8,
TYPE_STRING = 9,
TYPE_GROUP = 10,
TYPE_MESSAGE = 11,
TYPE_BYTES = 12,
TYPE_UINT32 = 13,
TYPE_ENUM = 14,
TYPE_SFIXED32 = 15,
TYPE_SFIXED64 = 16,
TYPE_SINT32 = 17,
TYPE_SINT64 = 18,
MAX_TYPE = 18
} |
| |
◆ OptionsType
| typedef FieldOptions google::protobuf::FieldDescriptor::OptionsType |
|
private |
◆ Proto
◆ CppType
| enum google::protobuf::FieldDescriptor::CppType |
| Enumerator |
|---|
| CPPTYPE_INT32 | |
| CPPTYPE_INT64 | |
| CPPTYPE_UINT32 | |
| CPPTYPE_UINT64 | |
| CPPTYPE_DOUBLE | |
| CPPTYPE_FLOAT | |
| CPPTYPE_BOOL | |
| CPPTYPE_ENUM | |
| CPPTYPE_STRING | |
| CPPTYPE_MESSAGE | |
| MAX_CPPTYPE | |
Definition at line 553 of file src/google/protobuf/descriptor.h.
◆ Label
| enum google::protobuf::FieldDescriptor::Label |
◆ PrintLabelFlag
| enum google::protobuf::FieldDescriptor::PrintLabelFlag |
|
private |
◆ Type
| enum google::protobuf::FieldDescriptor::Type |
| Enumerator |
|---|
| TYPE_DOUBLE | |
| TYPE_FLOAT | |
| TYPE_INT64 | |
| TYPE_UINT64 | |
| TYPE_INT32 | |
| TYPE_FIXED64 | |
| TYPE_FIXED32 | |
| TYPE_BOOL | |
| TYPE_STRING | |
| TYPE_GROUP | |
| TYPE_MESSAGE | |
| TYPE_BYTES | |
| TYPE_UINT32 | |
| TYPE_ENUM | |
| TYPE_SFIXED32 | |
| TYPE_SFIXED64 | |
| TYPE_SINT32 | |
| TYPE_SINT64 | |
| MAX_TYPE | |
Definition at line 521 of file src/google/protobuf/descriptor.h.
◆ FieldDescriptor()
| google::protobuf::FieldDescriptor::FieldDescriptor |
( |
| ) |
|
|
inlineprivate |
◆ camelcase_name()
| const std::string& google::protobuf::FieldDescriptor::camelcase_name |
( |
| ) |
const |
◆ containing_oneof()
| const OneofDescriptor* google::protobuf::FieldDescriptor::containing_oneof |
( |
| ) |
const |
◆ containing_type()
| const Descriptor* google::protobuf::FieldDescriptor::containing_type |
( |
| ) |
const |
◆ CopyJsonNameTo()
◆ CopyTo()
◆ cpp_type()
◆ cpp_type_name()
| const char * FieldDescriptor::cpp_type_name |
( |
| ) |
const |
|
inline |
◆ CppTypeName()
| const char * FieldDescriptor::CppTypeName |
( |
CppType |
cpp_type | ) |
|
|
inlinestatic |
◆ DebugString() [1/2]
◆ DebugString() [2/2]
◆ DebugStringWithOptions()
◆ default_value_bool()
| bool google::protobuf::FieldDescriptor::default_value_bool |
( |
| ) |
const |
◆ default_value_double()
| double google::protobuf::FieldDescriptor::default_value_double |
( |
| ) |
const |
◆ default_value_enum()
◆ default_value_float()
| float google::protobuf::FieldDescriptor::default_value_float |
( |
| ) |
const |
◆ default_value_int32()
| int32 google::protobuf::FieldDescriptor::default_value_int32 |
( |
| ) |
const |
◆ default_value_int64()
| int64 google::protobuf::FieldDescriptor::default_value_int64 |
( |
| ) |
const |
◆ default_value_string()
| const std::string& google::protobuf::FieldDescriptor::default_value_string |
( |
| ) |
const |
◆ default_value_uint32()
| uint32 google::protobuf::FieldDescriptor::default_value_uint32 |
( |
| ) |
const |
◆ default_value_uint64()
| uint64 google::protobuf::FieldDescriptor::default_value_uint64 |
( |
| ) |
const |
◆ DefaultValueAsString()
| std::string FieldDescriptor::DefaultValueAsString |
( |
bool |
quote_string_type | ) |
const |
|
private |
◆ enum_type()
◆ extension_scope()
| const Descriptor* google::protobuf::FieldDescriptor::extension_scope |
( |
| ) |
const |
◆ FieldTypeNameDebugString()
| std::string FieldDescriptor::FieldTypeNameDebugString |
( |
| ) |
const |
|
private |
◆ file()
| const FileDescriptor* google::protobuf::FieldDescriptor::file |
( |
| ) |
const |
◆ full_name()
| const std::string& google::protobuf::FieldDescriptor::full_name |
( |
| ) |
const |
◆ GetLocationPath()
| void FieldDescriptor::GetLocationPath |
( |
std::vector< int > * |
output | ) |
const |
|
private |
◆ GetSourceLocation()
| bool FieldDescriptor::GetSourceLocation |
( |
SourceLocation * |
out_location | ) |
const |
◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()
| google::protobuf::FieldDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
FieldDescriptor |
| ) |
|
|
private |
◆ has_default_value()
| bool google::protobuf::FieldDescriptor::has_default_value |
( |
| ) |
const |
◆ has_json_name()
| bool google::protobuf::FieldDescriptor::has_json_name |
( |
| ) |
const |
◆ index()
| int FieldDescriptor::index |
( |
| ) |
const |
|
inline |
◆ index_in_oneof()
| int google::protobuf::FieldDescriptor::index_in_oneof |
( |
| ) |
const |
◆ InternalTypeOnceInit()
| void FieldDescriptor::InternalTypeOnceInit |
( |
| ) |
const |
|
private |
◆ is_extension()
| bool google::protobuf::FieldDescriptor::is_extension |
( |
| ) |
const |
◆ is_map()
| bool FieldDescriptor::is_map |
( |
| ) |
const |
|
inline |
◆ is_map_message_type()
| bool FieldDescriptor::is_map_message_type |
( |
| ) |
const |
|
private |
◆ is_optional()
| bool FieldDescriptor::is_optional |
( |
| ) |
const |
|
inline |
◆ is_packable()
| bool FieldDescriptor::is_packable |
( |
| ) |
const |
|
inline |
◆ is_packed()
| bool FieldDescriptor::is_packed |
( |
| ) |
const |
◆ is_repeated()
| bool FieldDescriptor::is_repeated |
( |
| ) |
const |
|
inline |
◆ is_required()
| bool FieldDescriptor::is_required |
( |
| ) |
const |
|
inline |
◆ IsTypePackable()
| bool FieldDescriptor::IsTypePackable |
( |
Type |
field_type | ) |
|
|
inlinestatic |
◆ json_name()
| const std::string& google::protobuf::FieldDescriptor::json_name |
( |
| ) |
const |
◆ label()
| Label google::protobuf::FieldDescriptor::label |
( |
| ) |
const |
◆ lowercase_name()
| const std::string& google::protobuf::FieldDescriptor::lowercase_name |
( |
| ) |
const |
◆ message_type()
| const Descriptor * FieldDescriptor::message_type |
( |
| ) |
const |
◆ name()
| const std::string& google::protobuf::FieldDescriptor::name |
( |
| ) |
const |
◆ number()
| int google::protobuf::FieldDescriptor::number |
( |
| ) |
const |
◆ options()
| const FieldOptions& google::protobuf::FieldDescriptor::options |
( |
| ) |
const |
◆ PrintableNameForExtension()
| const std::string & FieldDescriptor::PrintableNameForExtension |
( |
| ) |
const |
◆ type()
◆ type_name()
| const char * FieldDescriptor::type_name |
( |
| ) |
const |
|
inline |
◆ TypeName()
| const char * FieldDescriptor::TypeName |
( |
Type |
type | ) |
|
|
inlinestatic |
◆ TypeOnceInit()
◆ TypeToCppType()
◆ compiler::cpp::Formatter
◆ Descriptor
◆ DescriptorBuilder
◆ FileDescriptor
◆ io::Printer
◆ OneofDescriptor
◆ @110
◆ camelcase_name_
| const std::string* google::protobuf::FieldDescriptor::camelcase_name_ |
|
private |
◆ containing_oneof_
| const OneofDescriptor* google::protobuf::FieldDescriptor::containing_oneof_ |
|
private |
◆ containing_type_
| const Descriptor* google::protobuf::FieldDescriptor::containing_type_ |
|
private |
◆ default_value_bool_
| bool google::protobuf::FieldDescriptor::default_value_bool_ |
◆ default_value_double_
| double google::protobuf::FieldDescriptor::default_value_double_ |
◆ default_value_enum_
◆ default_value_enum_name_
| const std::string* google::protobuf::FieldDescriptor::default_value_enum_name_ |
|
private |
◆ default_value_float_
| float google::protobuf::FieldDescriptor::default_value_float_ |
◆ default_value_int32_
| int32 google::protobuf::FieldDescriptor::default_value_int32_ |
◆ default_value_int64_
| int64 google::protobuf::FieldDescriptor::default_value_int64_ |
◆ default_value_string_
| const std::string* google::protobuf::FieldDescriptor::default_value_string_ |
◆ default_value_uint32_
| uint32 google::protobuf::FieldDescriptor::default_value_uint32_ |
◆ default_value_uint64_
| uint64 google::protobuf::FieldDescriptor::default_value_uint64_ |
◆ enum_type_
◆ extension_scope_
| const Descriptor* google::protobuf::FieldDescriptor::extension_scope_ |
|
private |
◆ file_
◆ full_name_
| const std::string* google::protobuf::FieldDescriptor::full_name_ |
|
private |
◆ has_default_value_
| bool google::protobuf::FieldDescriptor::has_default_value_ |
|
private |
◆ has_json_name_
| bool google::protobuf::FieldDescriptor::has_json_name_ |
|
private |
◆ index_in_oneof_
| int google::protobuf::FieldDescriptor::index_in_oneof_ |
|
private |
◆ is_extension_
| bool google::protobuf::FieldDescriptor::is_extension_ |
|
private |
◆ json_name_
| const std::string* google::protobuf::FieldDescriptor::json_name_ |
|
private |
◆ kCppTypeToName
| const char *const FieldDescriptor::kCppTypeToName |
|
staticprivate |
Initial value:= {
"ERROR",
"int32",
"int64",
"uint32",
"uint64",
"double",
"float",
"bool",
"enum",
"string",
"message",
}
Definition at line 828 of file src/google/protobuf/descriptor.h.
◆ kFirstReservedNumber
| const int FieldDescriptor::kFirstReservedNumber = 19000 |
|
static |
◆ kLabelToName
| const char *const FieldDescriptor::kLabelToName |
|
staticprivate |
◆ kLastReservedNumber
| const int FieldDescriptor::kLastReservedNumber = 19999 |
|
static |
◆ kMaxNumber
| const int FieldDescriptor::kMaxNumber = (1 << 29) - 1 |
|
static |
◆ kTypeToCppTypeMap
◆ kTypeToName
| const char *const FieldDescriptor::kTypeToName |
|
staticprivate |
Initial value:= {
"ERROR",
"double",
"float",
"int64",
"uint64",
"int32",
"fixed64",
"fixed32",
"bool",
"string",
"group",
"message",
"bytes",
"uint32",
"enum",
"sfixed32",
"sfixed64",
"sint32",
"sint64",
}
Definition at line 826 of file src/google/protobuf/descriptor.h.
◆ label_
| Label google::protobuf::FieldDescriptor::label_ |
|
private |
◆ lowercase_name_
| const std::string* google::protobuf::FieldDescriptor::lowercase_name_ |
|
private |
◆ message_type_
| const Descriptor* google::protobuf::FieldDescriptor::message_type_ |
|
mutableprivate |
◆ name_
| const std::string* google::protobuf::FieldDescriptor::name_ |
|
private |
◆ number_
| int google::protobuf::FieldDescriptor::number_ |
|
private |
◆ options_
| const FieldOptions* google::protobuf::FieldDescriptor::options_ |
|
private |
◆ type_
| Type google::protobuf::FieldDescriptor::type_ |
|
mutableprivate |
◆ type_name_
| const std::string* google::protobuf::FieldDescriptor::type_name_ |
|
private |
◆ type_once_
The documentation for this class was generated from the following files: