File indexing completed on 2025-01-18 10:13:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef UPB_REFLECTION_ONEOF_DEF_H_
0011 #define UPB_REFLECTION_ONEOF_DEF_H_
0012
0013 #include "upb/reflection/common.h"
0014
0015
0016 #include "upb/port/def.inc"
0017
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021
0022 UPB_API const upb_MessageDef* upb_OneofDef_ContainingType(
0023 const upb_OneofDef* o);
0024 UPB_API const upb_FieldDef* upb_OneofDef_Field(const upb_OneofDef* o, int i);
0025 UPB_API int upb_OneofDef_FieldCount(const upb_OneofDef* o);
0026 const char* upb_OneofDef_FullName(const upb_OneofDef* o);
0027 bool upb_OneofDef_HasOptions(const upb_OneofDef* o);
0028 uint32_t upb_OneofDef_Index(const upb_OneofDef* o);
0029 bool upb_OneofDef_IsSynthetic(const upb_OneofDef* o);
0030 const upb_FieldDef* upb_OneofDef_LookupName(const upb_OneofDef* o,
0031 const char* name);
0032 const upb_FieldDef* upb_OneofDef_LookupNameWithSize(const upb_OneofDef* o,
0033 const char* name,
0034 size_t size);
0035 const upb_FieldDef* upb_OneofDef_LookupNumber(const upb_OneofDef* o,
0036 uint32_t num);
0037 UPB_API const char* upb_OneofDef_Name(const upb_OneofDef* o);
0038 int upb_OneofDef_numfields(const upb_OneofDef* o);
0039 const UPB_DESC(OneofOptions*) upb_OneofDef_Options(const upb_OneofDef* o);
0040 const UPB_DESC(FeatureSet*)
0041 upb_OneofDef_ResolvedFeatures(const upb_OneofDef* o);
0042
0043 #ifdef __cplusplus
0044 }
0045 #endif
0046
0047 #include "upb/port/undef.inc"
0048
0049 #endif