1 2 #include "qux_generated.h" 3 #include "root.h" 4 #include "root_generated.h" 5 6 namespace testing { 7 8 class QuxTestDataClass : public DumpsysTestDataClass { 9 public: GetTable(flatbuffers::FlatBufferBuilder & fb_builder)10 TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& fb_builder) override { 11 auto name = fb_builder.CreateString("Qux Module String"); 12 13 QuxTestSchemaBuilder builder(fb_builder); 14 builder.add_qux_int_private(123); 15 builder.add_qux_int_opaque(456); 16 builder.add_qux_int_anonymized(789); 17 builder.add_qux_int_any(0xabc); 18 builder.add_qux_string_name(name); 19 20 auto qux_table = builder.Finish(); 21 22 return [qux_table](DumpsysTestDataRootBuilder* builder) { builder->add_qux_module_data(qux_table); }; 23 } 24 }; 25 26 } // namespace testing 27