File indexing completed on 2025-01-18 10:13:18
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef UPB_REFLECTION_FILE_DEF_H_
0011 #define UPB_REFLECTION_FILE_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 char* upb_FileDef_EditionName(int edition);
0023
0024 const upb_FileDef* upb_FileDef_Dependency(const upb_FileDef* f, int i);
0025 int upb_FileDef_DependencyCount(const upb_FileDef* f);
0026 bool upb_FileDef_HasOptions(const upb_FileDef* f);
0027 UPB_API const char* upb_FileDef_Name(const upb_FileDef* f);
0028 const UPB_DESC(FileOptions) * upb_FileDef_Options(const upb_FileDef* f);
0029 const UPB_DESC(FeatureSet) * upb_FileDef_ResolvedFeatures(const upb_FileDef* f);
0030 const char* upb_FileDef_Package(const upb_FileDef* f);
0031 UPB_DESC(Edition) upb_FileDef_Edition(const upb_FileDef* f);
0032 UPB_API const upb_DefPool* upb_FileDef_Pool(const upb_FileDef* f);
0033
0034 const upb_FileDef* upb_FileDef_PublicDependency(const upb_FileDef* f, int i);
0035 int upb_FileDef_PublicDependencyCount(const upb_FileDef* f);
0036
0037 const upb_ServiceDef* upb_FileDef_Service(const upb_FileDef* f, int i);
0038 int upb_FileDef_ServiceCount(const upb_FileDef* f);
0039
0040 UPB_API upb_Syntax upb_FileDef_Syntax(const upb_FileDef* f);
0041
0042 const upb_EnumDef* upb_FileDef_TopLevelEnum(const upb_FileDef* f, int i);
0043 int upb_FileDef_TopLevelEnumCount(const upb_FileDef* f);
0044
0045 const upb_FieldDef* upb_FileDef_TopLevelExtension(const upb_FileDef* f, int i);
0046 int upb_FileDef_TopLevelExtensionCount(const upb_FileDef* f);
0047
0048 const upb_MessageDef* upb_FileDef_TopLevelMessage(const upb_FileDef* f, int i);
0049 int upb_FileDef_TopLevelMessageCount(const upb_FileDef* f);
0050
0051 const upb_FileDef* upb_FileDef_WeakDependency(const upb_FileDef* f, int i);
0052 int upb_FileDef_WeakDependencyCount(const upb_FileDef* f);
0053
0054
0055 bool upb_FileDef_Resolves(const upb_FileDef* f, const char* symbol);
0056
0057 #ifdef __cplusplus
0058 }
0059 #endif
0060
0061 #include "upb/port/undef.inc"
0062
0063 #endif