ESP-IDF
ProtobufCEnumDescriptor
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ProtobufCEnumDescriptor
ProtobufCEnumDescriptor struct
Describes an enumeration as a whole, with all of its values.
Syntax
Show:
Summary
Declaration
Definition
from
protobuf-c.h:350
struct
ProtobufCEnumDescriptor
;
Implemented in
protobuf-c.h:499
Fields
Field
Declared as
Description
ProtobufCEnumDescriptor::magic
uint32_t
Magic value checked to ensure that the API is used correctly.
ProtobufCEnumDescriptor::name
const
char
*
The qualified name (e.g., "namespace.Type").
ProtobufCEnumDescriptor::short_name
const
char
*
The unqualified name as given in the .proto file (e.g., "Type").
ProtobufCEnumDescriptor::c_name
const
char
*
Identifier used in generated C code.
ProtobufCEnumDescriptor::package_name
const
char
*
The dot-separated namespace.
ProtobufCEnumDescriptor::n_values
unsigned
Number elements in `values`.
ProtobufCEnumDescriptor::values
const
ProtobufCEnumValue
*
Array of distinct values, sorted by numeric value.
ProtobufCEnumDescriptor::n_value_names
unsigned
Number of elements in `values_by_name`.
ProtobufCEnumDescriptor::values_by_name
const
ProtobufCEnumValueIndex
*
Array of named values, including aliases, sorted by name.
ProtobufCEnumDescriptor::n_value_ranges
unsigned
Number of elements in `value_ranges`.
ProtobufCEnumDescriptor::value_ranges
const
ProtobufCIntRange
*
Value ranges, for faster lookups by numeric value.
ProtobufCEnumDescriptor::reserved1
void
*
Reserved for future use.
ProtobufCEnumDescriptor::reserved2
void
*
Reserved for future use.
ProtobufCEnumDescriptor::reserved3
void
*
Reserved for future use.
ProtobufCEnumDescriptor::reserved4
void
*
Reserved for future use.
Related Functions
Found 2 other functions taking a
ProtobufCEnumDescriptor
argument:
Function
protobuf_c_enum_descriptor_get_value_by_name()
protobuf_c_enum_descriptor_get_value()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out