#include <descriptor.h>
|
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
} |
|
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
} |
|
Enumerator |
---|
CPPTYPE_INT32 |
|
CPPTYPE_INT64 |
|
CPPTYPE_UINT32 |
|
CPPTYPE_UINT64 |
|
CPPTYPE_DOUBLE |
|
CPPTYPE_FLOAT |
|
CPPTYPE_BOOL |
|
CPPTYPE_ENUM |
|
CPPTYPE_STRING |
|
CPPTYPE_MESSAGE |
|
MAX_CPPTYPE |
|
Definition: descriptor.h:386
Definition: descriptor.h:379
Definition: descriptor.h:381
Definition: descriptor.h:383
Definition: descriptor.h:385
Definition: descriptor.h:384
Definition: descriptor.h:388
Definition: descriptor.h:382
Definition: descriptor.h:387
Definition: descriptor.h:390
Definition: descriptor.h:380
Enumerator |
---|
LABEL_OPTIONAL |
|
LABEL_REQUIRED |
|
LABEL_REPEATED |
|
MAX_LABEL |
|
Definition: descriptor.h:401
Definition: descriptor.h:398
Definition: descriptor.h:399
Definition: descriptor.h:397
Enumerator |
---|
PRINT_LABEL |
|
OMIT_LABEL |
|
Definition: descriptor.h:559
Definition: descriptor.h:559
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: descriptor.h:357
Definition: descriptor.h:352
Definition: descriptor.h:368
Definition: descriptor.h:367
Definition: descriptor.h:363
Definition: descriptor.h:358
Definition: descriptor.h:361
Definition: descriptor.h:365
Definition: descriptor.h:359
Definition: descriptor.h:364
Definition: descriptor.h:349
Definition: descriptor.h:369
Definition: descriptor.h:347
Definition: descriptor.h:371
Definition: descriptor.h:360
Definition: descriptor.h:348
Definition: descriptor.h:353
Definition: descriptor.h:366
Definition: descriptor.h:356
google::protobuf::FieldDescriptor::FieldDescriptor |
( |
| ) |
|
|
inlineprivate |
const string& google::protobuf::FieldDescriptor::camelcase_name |
( |
| ) |
const |
const Descriptor* google::protobuf::FieldDescriptor::containing_type |
( |
| ) |
const |
Type type_
Definition: descriptor.h:578
static const CppType kTypeToCppTypeMap[MAX_TYPE+1]
Definition: descriptor.h:607
const char * google::protobuf::FieldDescriptor::cpp_type_name |
( |
| ) |
const |
|
inline |
Type type_
Definition: descriptor.h:578
static const char *const kCppTypeToName[MAX_CPPTYPE+1]
Definition: descriptor.h:611
static const CppType kTypeToCppTypeMap[MAX_TYPE+1]
Definition: descriptor.h:607
const char * google::protobuf::FieldDescriptor::CppTypeName |
( |
CppType |
cpp_type | ) |
|
|
inlinestatic |
CppType cpp_type() const
Definition: descriptor.h:1641
static const char *const kCppTypeToName[MAX_CPPTYPE+1]
Definition: descriptor.h:611
string google::protobuf::FieldDescriptor::DebugString |
( |
| ) |
const |
void google::protobuf::FieldDescriptor::DebugString |
( |
int |
depth, |
|
|
PrintLabelFlag |
print_label_flag, |
|
|
string * |
contents |
|
) |
| const |
|
private |
bool google::protobuf::FieldDescriptor::default_value_bool |
( |
| ) |
const |
double google::protobuf::FieldDescriptor::default_value_double |
( |
| ) |
const |
float google::protobuf::FieldDescriptor::default_value_float |
( |
| ) |
const |
int32 google::protobuf::FieldDescriptor::default_value_int32 |
( |
| ) |
const |
int64 google::protobuf::FieldDescriptor::default_value_int64 |
( |
| ) |
const |
const string& google::protobuf::FieldDescriptor::default_value_string |
( |
| ) |
const |
uint32 google::protobuf::FieldDescriptor::default_value_uint32 |
( |
| ) |
const |
uint64 google::protobuf::FieldDescriptor::default_value_uint64 |
( |
| ) |
const |
string google::protobuf::FieldDescriptor::DefaultValueAsString |
( |
bool |
quote_string_type | ) |
const |
|
private |
const Descriptor* google::protobuf::FieldDescriptor::extension_scope |
( |
| ) |
const |
const string& google::protobuf::FieldDescriptor::full_name |
( |
| ) |
const |
void google::protobuf::FieldDescriptor::GetLocationPath |
( |
vector< int > * |
output | ) |
const |
|
private |
bool google::protobuf::FieldDescriptor::GetSourceLocation |
( |
SourceLocation * |
out_location | ) |
const |
google::protobuf::FieldDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
FieldDescriptor |
| ) |
|
|
private |
bool google::protobuf::FieldDescriptor::has_default_value |
( |
| ) |
const |
int google::protobuf::FieldDescriptor::index |
( |
| ) |
const |
|
inline |
const Descriptor * containing_type_
Definition: descriptor.h:582
FieldDescriptor * fields_
Definition: descriptor.h:304
arena_t NULL
Definition: jemalloc_internal.h:624
FieldDescriptor * extensions_
Definition: descriptor.h:1120
bool is_extension_
Definition: descriptor.h:580
const FileDescriptor * file_
Definition: descriptor.h:576
FieldDescriptor * extensions_
Definition: descriptor.h:314
const Descriptor * extension_scope_
Definition: descriptor.h:584
int google::protobuf::FieldDescriptor::index_in_oneof |
( |
| ) |
const |
bool google::protobuf::FieldDescriptor::is_extension |
( |
| ) |
const |
bool google::protobuf::FieldDescriptor::is_optional |
( |
| ) |
const |
|
inline |
Definition: descriptor.h:397
bool google::protobuf::FieldDescriptor::is_packable |
( |
| ) |
const |
|
inline |
static bool IsTypePackable(Type field_type)
Definition: descriptor.h:1661
bool is_repeated() const
Definition: descriptor.h:1585
bool google::protobuf::FieldDescriptor::is_packed |
( |
| ) |
const |
bool google::protobuf::FieldDescriptor::is_repeated |
( |
| ) |
const |
|
inline |
Definition: descriptor.h:399
bool google::protobuf::FieldDescriptor::is_required |
( |
| ) |
const |
|
inline |
Definition: descriptor.h:398
bool google::protobuf::FieldDescriptor::IsTypePackable |
( |
Type |
field_type | ) |
|
|
inlinestatic |
Definition: descriptor.h:363
Definition: descriptor.h:361
Definition: descriptor.h:359
Definition: descriptor.h:360
Label google::protobuf::FieldDescriptor::label |
( |
| ) |
const |
const string& google::protobuf::FieldDescriptor::lowercase_name |
( |
| ) |
const |
const Descriptor* google::protobuf::FieldDescriptor::message_type |
( |
| ) |
const |
const string& google::protobuf::FieldDescriptor::name |
( |
| ) |
const |
int google::protobuf::FieldDescriptor::number |
( |
| ) |
const |
Type google::protobuf::FieldDescriptor::type |
( |
| ) |
const |
const char * google::protobuf::FieldDescriptor::type_name |
( |
| ) |
const |
|
inline |
Type type_
Definition: descriptor.h:578
static const char *const kTypeToName[MAX_TYPE+1]
Definition: descriptor.h:609
const char * google::protobuf::FieldDescriptor::TypeName |
( |
Type |
type | ) |
|
|
inlinestatic |
static const char *const kTypeToName[MAX_TYPE+1]
Definition: descriptor.h:609
static const CppType kTypeToCppTypeMap[MAX_TYPE+1]
Definition: descriptor.h:607
friend class DescriptorBuilder |
|
friend |
const string* google::protobuf::FieldDescriptor::camelcase_name_ |
|
private |
bool google::protobuf::FieldDescriptor::default_value_bool_ |
double google::protobuf::FieldDescriptor::default_value_double_ |
float google::protobuf::FieldDescriptor::default_value_float_ |
int32 google::protobuf::FieldDescriptor::default_value_int32_ |
int64 google::protobuf::FieldDescriptor::default_value_int64_ |
const string* google::protobuf::FieldDescriptor::default_value_string_ |
uint32 google::protobuf::FieldDescriptor::default_value_uint32_ |
uint64 google::protobuf::FieldDescriptor::default_value_uint64_ |
const string* google::protobuf::FieldDescriptor::full_name_ |
|
private |
bool google::protobuf::FieldDescriptor::has_default_value_ |
|
private |
int google::protobuf::FieldDescriptor::index_in_oneof_ |
|
private |
bool google::protobuf::FieldDescriptor::is_extension_ |
|
private |
const int google::protobuf::FieldDescriptor::kFirstReservedNumber = 19000 |
|
static |
const int google::protobuf::FieldDescriptor::kLastReservedNumber = 19999 |
|
static |
const int google::protobuf::FieldDescriptor::kMaxNumber = (1 << 29) - 1 |
|
static |
Label google::protobuf::FieldDescriptor::label_ |
|
private |
const string* google::protobuf::FieldDescriptor::lowercase_name_ |
|
private |
const string* google::protobuf::FieldDescriptor::name_ |
|
private |
int google::protobuf::FieldDescriptor::number_ |
|
private |
Type google::protobuf::FieldDescriptor::type_ |
|
private |
The documentation for this class was generated from the following file: