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/doctext/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::B, 1> TEnumDataStorage<::cpp2::B>::values = {{
16   type::HELLO,
17 }};
18 const std::array<folly::StringPiece, 1> TEnumDataStorage<::cpp2::B>::names = {{
19   "HELLO",
20 }};
21 
22 const std::array<::cpp2::U::Type, 2> TEnumDataStorage<::cpp2::U::Type>::values = {{
23   type::i,
24   type::s,
25 }};
26 const std::array<folly::StringPiece, 2> TEnumDataStorage<::cpp2::U::Type>::names = {{
27   "i",
28   "s",
29 }};
30 
31 const std::array<folly::StringPiece, 1> TStructDataStorage<::cpp2::A>::fields_names = {{
32   "useless_field",
33 }};
34 const std::array<int16_t, 1> TStructDataStorage<::cpp2::A>::fields_ids = {{
35   1,
36 }};
37 const std::array<protocol::TType, 1> TStructDataStorage<::cpp2::A>::fields_types = {{
38   TType::T_I32,
39 }};
40 
41 const std::array<folly::StringPiece, 2> TStructDataStorage<::cpp2::U>::fields_names = {{
42   "i",
43   "s",
44 }};
45 const std::array<int16_t, 2> TStructDataStorage<::cpp2::U>::fields_ids = {{
46   1,
47   2,
48 }};
49 const std::array<protocol::TType, 2> TStructDataStorage<::cpp2::U>::fields_types = {{
50   TType::T_I32,
51   TType::T_STRING,
52 }};
53 
54 const std::array<folly::StringPiece, 1> TStructDataStorage<::cpp2::Bang>::fields_names = {{
55   "message",
56 }};
57 const std::array<int16_t, 1> TStructDataStorage<::cpp2::Bang>::fields_ids = {{
58   1,
59 }};
60 const std::array<protocol::TType, 1> TStructDataStorage<::cpp2::Bang>::fields_types = {{
61   TType::T_STRING,
62 }};
63 
64 } // namespace thrift
65 } // namespace apache
66