Go to the source code of this file.
Classes | |
struct | GPBExtensionRange |
union | GPBGenericValue |
Typedefs | |
typedef GPBEnumDescriptor *(* | GPBEnumDescriptorFunc) (void) |
typedef BOOL(* | GPBEnumValidationFunc) (int32_t) |
typedef struct GPBExtensionRange | GPBExtensionRange |
Enumerations | |
enum | { kGPBUnrecognizedEnumeratorValue = (int32_t)0xFBADBEEF } |
enum | { GPBDataType_Count = GPBDataTypeEnum + 1 } |
Functions | |
typedef | NS_ENUM (uint8_t, GPBDataType) |
typedef GPBEnumDescriptor*(* GPBEnumDescriptorFunc) (void) |
Fetches an EnumDescriptor.
Definition at line 47 of file GPBRuntimeTypes.h.
typedef BOOL(* GPBEnumValidationFunc) (int32_t) |
Verifies that a given value can be represented by an enum type.
Definition at line 42 of file GPBRuntimeTypes.h.
typedef struct GPBExtensionRange GPBExtensionRange |
An extension range.
anonymous enum |
Magic value used at runtime to indicate an enum value that wasn't know at compile time.
Enumerator | |
---|---|
kGPBUnrecognizedEnumeratorValue |
Definition at line 53 of file GPBRuntimeTypes.h.
anonymous enum |
Enumerator | |
---|---|
GPBDataType_Count | A count of the number of types in GPBDataType. Separated out from the GPBDataType enum to avoid warnings regarding not handling GPBDataType_Count in switch statements. |
Definition at line 129 of file GPBRuntimeTypes.h.
typedef NS_ENUM | ( | uint8_t | , |
GPBDataType | |||
) |
Enum listing the possible data types that a field can contain.
Field contains boolean value(s).
Field contains unsigned 4 byte value(s).
Field contains signed 4 byte value(s).
Field contains float value(s).
Field contains unsigned 8 byte value(s).
Field contains signed 8 byte value(s).
Field contains double value(s).
Field contains variable length value(s). Inefficient for encoding negative numbers – if your field is likely to have negative values, use GPBDataTypeSInt32 instead.
Field contains variable length value(s). Inefficient for encoding negative numbers – if your field is likely to have negative values, use GPBDataTypeSInt64 instead.
Field contains signed variable length integer value(s).
Field contains signed variable length integer value(s).
Field contains unsigned variable length integer value(s).
Field contains unsigned variable length integer value(s).
Field contains an arbitrary sequence of bytes.
Field contains UTF-8 encoded or 7-bit ASCII text.
Field contains message type(s).
Field contains message type(s).
Field contains enum value(s).
Definition at line 82 of file GPBRuntimeTypes.h.