reflection_reader.h (21837B)
1 #ifndef REFLECTION_READER_H 2 #define REFLECTION_READER_H 3 4 /* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */ 5 6 #ifndef FLATBUFFERS_COMMON_READER_H 7 #include "flatbuffers_common_reader.h" 8 #endif 9 #include "flatcc/flatcc_flatbuffers.h" 10 #ifndef __alignas_is_defined 11 #include <stdalign.h> 12 #endif 13 #include "flatcc/flatcc_prologue.h" 14 #undef flatbuffers_identifier 15 #define flatbuffers_identifier "BFBS" 16 #undef flatbuffers_extension 17 #define flatbuffers_extension "bfbs" 18 19 20 typedef const struct reflection_Type_table *reflection_Type_table_t; 21 typedef struct reflection_Type_table *reflection_Type_mutable_table_t; 22 typedef const flatbuffers_uoffset_t *reflection_Type_vec_t; 23 typedef flatbuffers_uoffset_t *reflection_Type_mutable_vec_t; 24 typedef const struct reflection_KeyValue_table *reflection_KeyValue_table_t; 25 typedef struct reflection_KeyValue_table *reflection_KeyValue_mutable_table_t; 26 typedef const flatbuffers_uoffset_t *reflection_KeyValue_vec_t; 27 typedef flatbuffers_uoffset_t *reflection_KeyValue_mutable_vec_t; 28 typedef const struct reflection_EnumVal_table *reflection_EnumVal_table_t; 29 typedef struct reflection_EnumVal_table *reflection_EnumVal_mutable_table_t; 30 typedef const flatbuffers_uoffset_t *reflection_EnumVal_vec_t; 31 typedef flatbuffers_uoffset_t *reflection_EnumVal_mutable_vec_t; 32 typedef const struct reflection_Enum_table *reflection_Enum_table_t; 33 typedef struct reflection_Enum_table *reflection_Enum_mutable_table_t; 34 typedef const flatbuffers_uoffset_t *reflection_Enum_vec_t; 35 typedef flatbuffers_uoffset_t *reflection_Enum_mutable_vec_t; 36 typedef const struct reflection_Field_table *reflection_Field_table_t; 37 typedef struct reflection_Field_table *reflection_Field_mutable_table_t; 38 typedef const flatbuffers_uoffset_t *reflection_Field_vec_t; 39 typedef flatbuffers_uoffset_t *reflection_Field_mutable_vec_t; 40 typedef const struct reflection_Object_table *reflection_Object_table_t; 41 typedef struct reflection_Object_table *reflection_Object_mutable_table_t; 42 typedef const flatbuffers_uoffset_t *reflection_Object_vec_t; 43 typedef flatbuffers_uoffset_t *reflection_Object_mutable_vec_t; 44 typedef const struct reflection_RPCCall_table *reflection_RPCCall_table_t; 45 typedef struct reflection_RPCCall_table *reflection_RPCCall_mutable_table_t; 46 typedef const flatbuffers_uoffset_t *reflection_RPCCall_vec_t; 47 typedef flatbuffers_uoffset_t *reflection_RPCCall_mutable_vec_t; 48 typedef const struct reflection_Service_table *reflection_Service_table_t; 49 typedef struct reflection_Service_table *reflection_Service_mutable_table_t; 50 typedef const flatbuffers_uoffset_t *reflection_Service_vec_t; 51 typedef flatbuffers_uoffset_t *reflection_Service_mutable_vec_t; 52 typedef const struct reflection_Schema_table *reflection_Schema_table_t; 53 typedef struct reflection_Schema_table *reflection_Schema_mutable_table_t; 54 typedef const flatbuffers_uoffset_t *reflection_Schema_vec_t; 55 typedef flatbuffers_uoffset_t *reflection_Schema_mutable_vec_t; 56 #ifndef reflection_Type_file_identifier 57 #define reflection_Type_file_identifier "BFBS" 58 #endif 59 /* deprecated, use reflection_Type_file_identifier */ 60 #ifndef reflection_Type_identifier 61 #define reflection_Type_identifier "BFBS" 62 #endif 63 #define reflection_Type_type_hash ((flatbuffers_thash_t)0x44c8fe5e) 64 #define reflection_Type_type_identifier "\x5e\xfe\xc8\x44" 65 #ifndef reflection_Type_file_extension 66 #define reflection_Type_file_extension "bfbs" 67 #endif 68 #ifndef reflection_KeyValue_file_identifier 69 #define reflection_KeyValue_file_identifier "BFBS" 70 #endif 71 /* deprecated, use reflection_KeyValue_file_identifier */ 72 #ifndef reflection_KeyValue_identifier 73 #define reflection_KeyValue_identifier "BFBS" 74 #endif 75 #define reflection_KeyValue_type_hash ((flatbuffers_thash_t)0x8c761eaa) 76 #define reflection_KeyValue_type_identifier "\xaa\x1e\x76\x8c" 77 #ifndef reflection_KeyValue_file_extension 78 #define reflection_KeyValue_file_extension "bfbs" 79 #endif 80 #ifndef reflection_EnumVal_file_identifier 81 #define reflection_EnumVal_file_identifier "BFBS" 82 #endif 83 /* deprecated, use reflection_EnumVal_file_identifier */ 84 #ifndef reflection_EnumVal_identifier 85 #define reflection_EnumVal_identifier "BFBS" 86 #endif 87 #define reflection_EnumVal_type_hash ((flatbuffers_thash_t)0x9531c946) 88 #define reflection_EnumVal_type_identifier "\x46\xc9\x31\x95" 89 #ifndef reflection_EnumVal_file_extension 90 #define reflection_EnumVal_file_extension "bfbs" 91 #endif 92 #ifndef reflection_Enum_file_identifier 93 #define reflection_Enum_file_identifier "BFBS" 94 #endif 95 /* deprecated, use reflection_Enum_file_identifier */ 96 #ifndef reflection_Enum_identifier 97 #define reflection_Enum_identifier "BFBS" 98 #endif 99 #define reflection_Enum_type_hash ((flatbuffers_thash_t)0xacffa90f) 100 #define reflection_Enum_type_identifier "\x0f\xa9\xff\xac" 101 #ifndef reflection_Enum_file_extension 102 #define reflection_Enum_file_extension "bfbs" 103 #endif 104 #ifndef reflection_Field_file_identifier 105 #define reflection_Field_file_identifier "BFBS" 106 #endif 107 /* deprecated, use reflection_Field_file_identifier */ 108 #ifndef reflection_Field_identifier 109 #define reflection_Field_identifier "BFBS" 110 #endif 111 #define reflection_Field_type_hash ((flatbuffers_thash_t)0x9f7e408a) 112 #define reflection_Field_type_identifier "\x8a\x40\x7e\x9f" 113 #ifndef reflection_Field_file_extension 114 #define reflection_Field_file_extension "bfbs" 115 #endif 116 #ifndef reflection_Object_file_identifier 117 #define reflection_Object_file_identifier "BFBS" 118 #endif 119 /* deprecated, use reflection_Object_file_identifier */ 120 #ifndef reflection_Object_identifier 121 #define reflection_Object_identifier "BFBS" 122 #endif 123 #define reflection_Object_type_hash ((flatbuffers_thash_t)0xb09729bd) 124 #define reflection_Object_type_identifier "\xbd\x29\x97\xb0" 125 #ifndef reflection_Object_file_extension 126 #define reflection_Object_file_extension "bfbs" 127 #endif 128 #ifndef reflection_RPCCall_file_identifier 129 #define reflection_RPCCall_file_identifier "BFBS" 130 #endif 131 /* deprecated, use reflection_RPCCall_file_identifier */ 132 #ifndef reflection_RPCCall_identifier 133 #define reflection_RPCCall_identifier "BFBS" 134 #endif 135 #define reflection_RPCCall_type_hash ((flatbuffers_thash_t)0xe2d586f1) 136 #define reflection_RPCCall_type_identifier "\xf1\x86\xd5\xe2" 137 #ifndef reflection_RPCCall_file_extension 138 #define reflection_RPCCall_file_extension "bfbs" 139 #endif 140 #ifndef reflection_Service_file_identifier 141 #define reflection_Service_file_identifier "BFBS" 142 #endif 143 /* deprecated, use reflection_Service_file_identifier */ 144 #ifndef reflection_Service_identifier 145 #define reflection_Service_identifier "BFBS" 146 #endif 147 #define reflection_Service_type_hash ((flatbuffers_thash_t)0xf31a13b5) 148 #define reflection_Service_type_identifier "\xb5\x13\x1a\xf3" 149 #ifndef reflection_Service_file_extension 150 #define reflection_Service_file_extension "bfbs" 151 #endif 152 #ifndef reflection_Schema_file_identifier 153 #define reflection_Schema_file_identifier "BFBS" 154 #endif 155 /* deprecated, use reflection_Schema_file_identifier */ 156 #ifndef reflection_Schema_identifier 157 #define reflection_Schema_identifier "BFBS" 158 #endif 159 #define reflection_Schema_type_hash ((flatbuffers_thash_t)0xfaf93779) 160 #define reflection_Schema_type_identifier "\x79\x37\xf9\xfa" 161 #ifndef reflection_Schema_file_extension 162 #define reflection_Schema_file_extension "bfbs" 163 #endif 164 165 typedef int8_t reflection_BaseType_enum_t; 166 __flatbuffers_define_integer_type(reflection_BaseType, reflection_BaseType_enum_t, 8) 167 #define reflection_BaseType_None ((reflection_BaseType_enum_t)INT8_C(0)) 168 #define reflection_BaseType_UType ((reflection_BaseType_enum_t)INT8_C(1)) 169 #define reflection_BaseType_Bool ((reflection_BaseType_enum_t)INT8_C(2)) 170 #define reflection_BaseType_Byte ((reflection_BaseType_enum_t)INT8_C(3)) 171 #define reflection_BaseType_UByte ((reflection_BaseType_enum_t)INT8_C(4)) 172 #define reflection_BaseType_Short ((reflection_BaseType_enum_t)INT8_C(5)) 173 #define reflection_BaseType_UShort ((reflection_BaseType_enum_t)INT8_C(6)) 174 #define reflection_BaseType_Int ((reflection_BaseType_enum_t)INT8_C(7)) 175 #define reflection_BaseType_UInt ((reflection_BaseType_enum_t)INT8_C(8)) 176 #define reflection_BaseType_Long ((reflection_BaseType_enum_t)INT8_C(9)) 177 #define reflection_BaseType_ULong ((reflection_BaseType_enum_t)INT8_C(10)) 178 #define reflection_BaseType_Float ((reflection_BaseType_enum_t)INT8_C(11)) 179 #define reflection_BaseType_Double ((reflection_BaseType_enum_t)INT8_C(12)) 180 #define reflection_BaseType_String ((reflection_BaseType_enum_t)INT8_C(13)) 181 #define reflection_BaseType_Vector ((reflection_BaseType_enum_t)INT8_C(14)) 182 #define reflection_BaseType_Obj ((reflection_BaseType_enum_t)INT8_C(15)) 183 #define reflection_BaseType_Union ((reflection_BaseType_enum_t)INT8_C(16)) 184 #define reflection_BaseType_Array ((reflection_BaseType_enum_t)INT8_C(17)) 185 #define reflection_BaseType_MaxBaseType ((reflection_BaseType_enum_t)INT8_C(18)) 186 187 static inline const char *reflection_BaseType_name(reflection_BaseType_enum_t value) 188 { 189 switch (value) { 190 case reflection_BaseType_None: return "None"; 191 case reflection_BaseType_UType: return "UType"; 192 case reflection_BaseType_Bool: return "Bool"; 193 case reflection_BaseType_Byte: return "Byte"; 194 case reflection_BaseType_UByte: return "UByte"; 195 case reflection_BaseType_Short: return "Short"; 196 case reflection_BaseType_UShort: return "UShort"; 197 case reflection_BaseType_Int: return "Int"; 198 case reflection_BaseType_UInt: return "UInt"; 199 case reflection_BaseType_Long: return "Long"; 200 case reflection_BaseType_ULong: return "ULong"; 201 case reflection_BaseType_Float: return "Float"; 202 case reflection_BaseType_Double: return "Double"; 203 case reflection_BaseType_String: return "String"; 204 case reflection_BaseType_Vector: return "Vector"; 205 case reflection_BaseType_Obj: return "Obj"; 206 case reflection_BaseType_Union: return "Union"; 207 case reflection_BaseType_Array: return "Array"; 208 case reflection_BaseType_MaxBaseType: return "MaxBaseType"; 209 default: return ""; 210 } 211 } 212 213 static inline int reflection_BaseType_is_known_value(reflection_BaseType_enum_t value) 214 { 215 switch (value) { 216 case reflection_BaseType_None: return 1; 217 case reflection_BaseType_UType: return 1; 218 case reflection_BaseType_Bool: return 1; 219 case reflection_BaseType_Byte: return 1; 220 case reflection_BaseType_UByte: return 1; 221 case reflection_BaseType_Short: return 1; 222 case reflection_BaseType_UShort: return 1; 223 case reflection_BaseType_Int: return 1; 224 case reflection_BaseType_UInt: return 1; 225 case reflection_BaseType_Long: return 1; 226 case reflection_BaseType_ULong: return 1; 227 case reflection_BaseType_Float: return 1; 228 case reflection_BaseType_Double: return 1; 229 case reflection_BaseType_String: return 1; 230 case reflection_BaseType_Vector: return 1; 231 case reflection_BaseType_Obj: return 1; 232 case reflection_BaseType_Union: return 1; 233 case reflection_BaseType_Array: return 1; 234 case reflection_BaseType_MaxBaseType: return 1; 235 default: return 0; 236 } 237 } 238 239 240 241 struct reflection_Type_table { uint8_t unused__; }; 242 243 static inline size_t reflection_Type_vec_len(reflection_Type_vec_t vec) 244 __flatbuffers_vec_len(vec) 245 static inline reflection_Type_table_t reflection_Type_vec_at(reflection_Type_vec_t vec, size_t i) 246 __flatbuffers_offset_vec_at(reflection_Type_table_t, vec, i, 0) 247 __flatbuffers_table_as_root(reflection_Type) 248 249 __flatbuffers_define_scalar_field(0, reflection_Type, base_type, reflection_BaseType, reflection_BaseType_enum_t, INT8_C(0)) 250 __flatbuffers_define_scalar_field(1, reflection_Type, element, reflection_BaseType, reflection_BaseType_enum_t, INT8_C(0)) 251 __flatbuffers_define_scalar_field(2, reflection_Type, index, flatbuffers_int32, int32_t, INT32_C(-1)) 252 __flatbuffers_define_scalar_field(3, reflection_Type, fixed_length, flatbuffers_uint16, uint16_t, UINT16_C(0)) 253 254 struct reflection_KeyValue_table { uint8_t unused__; }; 255 256 static inline size_t reflection_KeyValue_vec_len(reflection_KeyValue_vec_t vec) 257 __flatbuffers_vec_len(vec) 258 static inline reflection_KeyValue_table_t reflection_KeyValue_vec_at(reflection_KeyValue_vec_t vec, size_t i) 259 __flatbuffers_offset_vec_at(reflection_KeyValue_table_t, vec, i, 0) 260 __flatbuffers_table_as_root(reflection_KeyValue) 261 262 __flatbuffers_define_string_field(0, reflection_KeyValue, key, 1) 263 __flatbuffers_define_find_by_string_field(reflection_KeyValue, key) 264 __flatbuffers_define_table_sort_by_string_field(reflection_KeyValue, key) 265 __flatbuffers_define_default_find_by_string_field(reflection_KeyValue, key) 266 __flatbuffers_define_default_scan_by_string_field(reflection_KeyValue, key) 267 #define reflection_KeyValue_vec_sort reflection_KeyValue_vec_sort_by_key 268 __flatbuffers_define_string_field(1, reflection_KeyValue, value, 0) 269 270 struct reflection_EnumVal_table { uint8_t unused__; }; 271 272 static inline size_t reflection_EnumVal_vec_len(reflection_EnumVal_vec_t vec) 273 __flatbuffers_vec_len(vec) 274 static inline reflection_EnumVal_table_t reflection_EnumVal_vec_at(reflection_EnumVal_vec_t vec, size_t i) 275 __flatbuffers_offset_vec_at(reflection_EnumVal_table_t, vec, i, 0) 276 __flatbuffers_table_as_root(reflection_EnumVal) 277 278 __flatbuffers_define_string_field(0, reflection_EnumVal, name, 1) 279 __flatbuffers_define_scalar_field(1, reflection_EnumVal, value, flatbuffers_int64, int64_t, INT64_C(0)) 280 /* Note: find only works on vectors sorted by this field. */ 281 __flatbuffers_define_find_by_scalar_field(reflection_EnumVal, value, int64_t) 282 __flatbuffers_define_table_sort_by_scalar_field(reflection_EnumVal, value, int64_t) 283 __flatbuffers_define_default_find_by_scalar_field(reflection_EnumVal, value, int64_t) 284 __flatbuffers_define_default_scan_by_scalar_field(reflection_EnumVal, value, int64_t) 285 #define reflection_EnumVal_vec_sort reflection_EnumVal_vec_sort_by_value 286 __flatbuffers_define_table_field(2, reflection_EnumVal, object, reflection_Object_table_t, 0) 287 __flatbuffers_define_table_field(3, reflection_EnumVal, union_type, reflection_Type_table_t, 0) 288 __flatbuffers_define_vector_field(4, reflection_EnumVal, documentation, flatbuffers_string_vec_t, 0) 289 290 struct reflection_Enum_table { uint8_t unused__; }; 291 292 static inline size_t reflection_Enum_vec_len(reflection_Enum_vec_t vec) 293 __flatbuffers_vec_len(vec) 294 static inline reflection_Enum_table_t reflection_Enum_vec_at(reflection_Enum_vec_t vec, size_t i) 295 __flatbuffers_offset_vec_at(reflection_Enum_table_t, vec, i, 0) 296 __flatbuffers_table_as_root(reflection_Enum) 297 298 __flatbuffers_define_string_field(0, reflection_Enum, name, 1) 299 __flatbuffers_define_find_by_string_field(reflection_Enum, name) 300 __flatbuffers_define_table_sort_by_string_field(reflection_Enum, name) 301 __flatbuffers_define_default_find_by_string_field(reflection_Enum, name) 302 __flatbuffers_define_default_scan_by_string_field(reflection_Enum, name) 303 #define reflection_Enum_vec_sort reflection_Enum_vec_sort_by_name 304 __flatbuffers_define_vector_field(1, reflection_Enum, values, reflection_EnumVal_vec_t, 1) 305 __flatbuffers_define_scalar_field(2, reflection_Enum, is_union, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0)) 306 __flatbuffers_define_table_field(3, reflection_Enum, underlying_type, reflection_Type_table_t, 1) 307 __flatbuffers_define_vector_field(4, reflection_Enum, attributes, reflection_KeyValue_vec_t, 0) 308 __flatbuffers_define_vector_field(5, reflection_Enum, documentation, flatbuffers_string_vec_t, 0) 309 310 struct reflection_Field_table { uint8_t unused__; }; 311 312 static inline size_t reflection_Field_vec_len(reflection_Field_vec_t vec) 313 __flatbuffers_vec_len(vec) 314 static inline reflection_Field_table_t reflection_Field_vec_at(reflection_Field_vec_t vec, size_t i) 315 __flatbuffers_offset_vec_at(reflection_Field_table_t, vec, i, 0) 316 __flatbuffers_table_as_root(reflection_Field) 317 318 __flatbuffers_define_string_field(0, reflection_Field, name, 1) 319 __flatbuffers_define_find_by_string_field(reflection_Field, name) 320 __flatbuffers_define_table_sort_by_string_field(reflection_Field, name) 321 __flatbuffers_define_default_find_by_string_field(reflection_Field, name) 322 __flatbuffers_define_default_scan_by_string_field(reflection_Field, name) 323 #define reflection_Field_vec_sort reflection_Field_vec_sort_by_name 324 __flatbuffers_define_table_field(1, reflection_Field, type, reflection_Type_table_t, 1) 325 __flatbuffers_define_scalar_field(2, reflection_Field, id, flatbuffers_uint16, uint16_t, UINT16_C(0)) 326 __flatbuffers_define_scalar_field(3, reflection_Field, offset, flatbuffers_uint16, uint16_t, UINT16_C(0)) 327 __flatbuffers_define_scalar_field(4, reflection_Field, default_integer, flatbuffers_int64, int64_t, INT64_C(0)) 328 __flatbuffers_define_scalar_field(5, reflection_Field, default_real, flatbuffers_double, double, 0.0000000000000000) 329 __flatbuffers_define_scalar_field(6, reflection_Field, deprecated, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0)) 330 __flatbuffers_define_scalar_field(7, reflection_Field, required, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0)) 331 __flatbuffers_define_scalar_field(8, reflection_Field, key, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0)) 332 __flatbuffers_define_vector_field(9, reflection_Field, attributes, reflection_KeyValue_vec_t, 0) 333 __flatbuffers_define_vector_field(10, reflection_Field, documentation, flatbuffers_string_vec_t, 0) 334 __flatbuffers_define_scalar_field(11, reflection_Field, optional, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0)) 335 336 struct reflection_Object_table { uint8_t unused__; }; 337 338 static inline size_t reflection_Object_vec_len(reflection_Object_vec_t vec) 339 __flatbuffers_vec_len(vec) 340 static inline reflection_Object_table_t reflection_Object_vec_at(reflection_Object_vec_t vec, size_t i) 341 __flatbuffers_offset_vec_at(reflection_Object_table_t, vec, i, 0) 342 __flatbuffers_table_as_root(reflection_Object) 343 344 __flatbuffers_define_string_field(0, reflection_Object, name, 1) 345 __flatbuffers_define_find_by_string_field(reflection_Object, name) 346 __flatbuffers_define_table_sort_by_string_field(reflection_Object, name) 347 __flatbuffers_define_default_find_by_string_field(reflection_Object, name) 348 __flatbuffers_define_default_scan_by_string_field(reflection_Object, name) 349 #define reflection_Object_vec_sort reflection_Object_vec_sort_by_name 350 __flatbuffers_define_vector_field(1, reflection_Object, fields, reflection_Field_vec_t, 1) 351 __flatbuffers_define_scalar_field(2, reflection_Object, is_struct, flatbuffers_bool, flatbuffers_bool_t, UINT8_C(0)) 352 __flatbuffers_define_scalar_field(3, reflection_Object, minalign, flatbuffers_int32, int32_t, INT32_C(0)) 353 __flatbuffers_define_scalar_field(4, reflection_Object, bytesize, flatbuffers_int32, int32_t, INT32_C(0)) 354 __flatbuffers_define_vector_field(5, reflection_Object, attributes, reflection_KeyValue_vec_t, 0) 355 __flatbuffers_define_vector_field(6, reflection_Object, documentation, flatbuffers_string_vec_t, 0) 356 357 struct reflection_RPCCall_table { uint8_t unused__; }; 358 359 static inline size_t reflection_RPCCall_vec_len(reflection_RPCCall_vec_t vec) 360 __flatbuffers_vec_len(vec) 361 static inline reflection_RPCCall_table_t reflection_RPCCall_vec_at(reflection_RPCCall_vec_t vec, size_t i) 362 __flatbuffers_offset_vec_at(reflection_RPCCall_table_t, vec, i, 0) 363 __flatbuffers_table_as_root(reflection_RPCCall) 364 365 __flatbuffers_define_string_field(0, reflection_RPCCall, name, 1) 366 __flatbuffers_define_find_by_string_field(reflection_RPCCall, name) 367 __flatbuffers_define_table_sort_by_string_field(reflection_RPCCall, name) 368 __flatbuffers_define_default_find_by_string_field(reflection_RPCCall, name) 369 __flatbuffers_define_default_scan_by_string_field(reflection_RPCCall, name) 370 #define reflection_RPCCall_vec_sort reflection_RPCCall_vec_sort_by_name 371 __flatbuffers_define_table_field(1, reflection_RPCCall, request, reflection_Object_table_t, 1) 372 __flatbuffers_define_table_field(2, reflection_RPCCall, response, reflection_Object_table_t, 1) 373 __flatbuffers_define_vector_field(3, reflection_RPCCall, attributes, reflection_KeyValue_vec_t, 0) 374 __flatbuffers_define_vector_field(4, reflection_RPCCall, documentation, flatbuffers_string_vec_t, 0) 375 376 struct reflection_Service_table { uint8_t unused__; }; 377 378 static inline size_t reflection_Service_vec_len(reflection_Service_vec_t vec) 379 __flatbuffers_vec_len(vec) 380 static inline reflection_Service_table_t reflection_Service_vec_at(reflection_Service_vec_t vec, size_t i) 381 __flatbuffers_offset_vec_at(reflection_Service_table_t, vec, i, 0) 382 __flatbuffers_table_as_root(reflection_Service) 383 384 __flatbuffers_define_string_field(0, reflection_Service, name, 1) 385 __flatbuffers_define_find_by_string_field(reflection_Service, name) 386 __flatbuffers_define_table_sort_by_string_field(reflection_Service, name) 387 __flatbuffers_define_default_find_by_string_field(reflection_Service, name) 388 __flatbuffers_define_default_scan_by_string_field(reflection_Service, name) 389 #define reflection_Service_vec_sort reflection_Service_vec_sort_by_name 390 __flatbuffers_define_vector_field(1, reflection_Service, calls, reflection_RPCCall_vec_t, 0) 391 __flatbuffers_define_vector_field(2, reflection_Service, attributes, reflection_KeyValue_vec_t, 0) 392 __flatbuffers_define_vector_field(3, reflection_Service, documentation, flatbuffers_string_vec_t, 0) 393 394 struct reflection_Schema_table { uint8_t unused__; }; 395 396 static inline size_t reflection_Schema_vec_len(reflection_Schema_vec_t vec) 397 __flatbuffers_vec_len(vec) 398 static inline reflection_Schema_table_t reflection_Schema_vec_at(reflection_Schema_vec_t vec, size_t i) 399 __flatbuffers_offset_vec_at(reflection_Schema_table_t, vec, i, 0) 400 __flatbuffers_table_as_root(reflection_Schema) 401 402 __flatbuffers_define_vector_field(0, reflection_Schema, objects, reflection_Object_vec_t, 1) 403 __flatbuffers_define_vector_field(1, reflection_Schema, enums, reflection_Enum_vec_t, 1) 404 __flatbuffers_define_string_field(2, reflection_Schema, file_ident, 0) 405 __flatbuffers_define_string_field(3, reflection_Schema, file_ext, 0) 406 __flatbuffers_define_table_field(4, reflection_Schema, root_table, reflection_Object_table_t, 0) 407 __flatbuffers_define_vector_field(5, reflection_Schema, services, reflection_Service_vec_t, 0) 408 409 410 #include "flatcc/flatcc_epilogue.h" 411 #endif /* REFLECTION_READER_H */