| 447 | } |
| 448 | |
| 449 | inline const char * const *EnumNamesType() { |
| 450 | static const char * const names[28] = { |
| 451 | "NONE", |
| 452 | "Null", |
| 453 | "Int", |
| 454 | "FloatingPoint", |
| 455 | "Binary", |
| 456 | "Utf8", |
| 457 | "Bool", |
| 458 | "Decimal", |
| 459 | "Date", |
| 460 | "Time", |
| 461 | "Timestamp", |
| 462 | "Interval", |
| 463 | "List", |
| 464 | "Struct_", |
| 465 | "Union", |
| 466 | "FixedSizeBinary", |
| 467 | "FixedSizeList", |
| 468 | "Map", |
| 469 | "Duration", |
| 470 | "LargeBinary", |
| 471 | "LargeUtf8", |
| 472 | "LargeList", |
| 473 | "RunEndEncoded", |
| 474 | "BinaryView", |
| 475 | "Utf8View", |
| 476 | "ListView", |
| 477 | "LargeListView", |
| 478 | nullptr |
| 479 | }; |
| 480 | return names; |
| 481 | } |
| 482 | |
| 483 | inline const char *EnumNameType(Type e) { |
| 484 | if (::flatbuffers::IsOutRange(e, Type_NONE, Type_LargeListView)) return ""; |