1 /** 2 * Autogenerated by Thrift for src/module.thrift 3 * 4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING 5 * @generated @nocommit 6 */ 7 8 #include "thrift/compiler/test/fixtures/frozen-struct/gen-cpp2/module_data.h" 9 10 #include <thrift/lib/cpp2/gen/module_data_cpp.h> 11 12 namespace apache { 13 namespace thrift { 14 15 const std::array<::some::ns::EnumB, 1> TEnumDataStorage<::some::ns::EnumB>::values = {{ 16 type::EMPTY, 17 }}; 18 const std::array<folly::StringPiece, 1> TEnumDataStorage<::some::ns::EnumB>::names = {{ 19 "EMPTY", 20 }}; 21 22 const std::array<folly::StringPiece, 6> TStructDataStorage<::some::ns::ModuleA>::fields_names = {{ 23 "i32Field", 24 "strField", 25 "listField", 26 "mapField", 27 "inclAField", 28 "inclBField", 29 }}; 30 const std::array<int16_t, 6> TStructDataStorage<::some::ns::ModuleA>::fields_ids = {{ 31 1, 32 2, 33 3, 34 4, 35 5, 36 6, 37 }}; 38 const std::array<protocol::TType, 6> TStructDataStorage<::some::ns::ModuleA>::fields_types = {{ 39 TType::T_I32, 40 TType::T_STRING, 41 TType::T_LIST, 42 TType::T_MAP, 43 TType::T_STRUCT, 44 TType::T_STRUCT, 45 }}; 46 47 const std::array<folly::StringPiece, 2> TStructDataStorage<::some::ns::ModuleB>::fields_names = {{ 48 "i32Field", 49 "inclEnumB", 50 }}; 51 const std::array<int16_t, 2> TStructDataStorage<::some::ns::ModuleB>::fields_ids = {{ 52 1, 53 2, 54 }}; 55 const std::array<protocol::TType, 2> TStructDataStorage<::some::ns::ModuleB>::fields_types = {{ 56 TType::T_I32, 57 TType::T_I32, 58 }}; 59 60 } // namespace thrift 61 } // namespace apache 62