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/enums/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<::cpp2::Metasyntactic, 4> TEnumDataStorage<::cpp2::Metasyntactic>::values = {{ 16 type::FOO, 17 type::BAR, 18 type::BAZ, 19 type::BAX, 20 }}; 21 const std::array<folly::StringPiece, 4> TEnumDataStorage<::cpp2::Metasyntactic>::names = {{ 22 "FOO", 23 "BAR", 24 "BAZ", 25 "BAX", 26 }}; 27 28 const std::array<folly::StringPiece, 4> TStructDataStorage<::cpp2::SomeStruct>::fields_names = {{ 29 "reasonable", 30 "fine", 31 "questionable", 32 "tags", 33 }}; 34 const std::array<int16_t, 4> TStructDataStorage<::cpp2::SomeStruct>::fields_ids = {{ 35 1, 36 2, 37 3, 38 4, 39 }}; 40 const std::array<protocol::TType, 4> TStructDataStorage<::cpp2::SomeStruct>::fields_types = {{ 41 TType::T_I32, 42 TType::T_I32, 43 TType::T_I32, 44 TType::T_SET, 45 }}; 46 47 } // namespace thrift 48 } // namespace apache 49