| 2775 | // used). |
| 2776 | template<typename T> |
| 2777 | bool IsFieldPresent(const T *table, typename T::FlatBuffersVTableOffset field) { |
| 2778 | // Cast, since Table is a private baseclass of any table types. |
| 2779 | return reinterpret_cast<const Table *>(table)->CheckField( |
| 2780 | static_cast<voffset_t>(field)); |
| 2781 | } |
| 2782 | |
| 2783 | // Utility function for reverse lookups on the EnumNames*() functions |
| 2784 | // (in the generated C++ code) |
nothing calls this directly
no test coverage detected