/** * Autogenerated by Thrift for thrift/compiler/test/fixtures/inheritance/src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #pragma once #include #include #include "thrift/compiler/test/fixtures/inheritance/gen-cpp2/module_types.h" namespace cpp2 { class MyRoot; } // namespace cpp2 namespace cpp2 { class MyNode; } // namespace cpp2 namespace cpp2 { class MyLeaf; } // namespace cpp2 namespace apache { namespace thrift { namespace detail { namespace md { template <> class ServiceMetadata<::apache::thrift::ServiceHandler<::cpp2::MyRoot>> { public: static void gen(ThriftServiceMetadataResponse& response); private: static const ThriftServiceContextRef* genRecurse(ThriftMetadata& metadata, std::vector& services); template friend class ServiceMetadata; static void gen_do_root(ThriftMetadata& metadata, ThriftService& context); }; template <> class ServiceMetadata<::apache::thrift::ServiceHandler<::cpp2::MyNode>> { public: static void gen(ThriftServiceMetadataResponse& response); private: static const ThriftServiceContextRef* genRecurse(ThriftMetadata& metadata, std::vector& services); template friend class ServiceMetadata; static void gen_do_mid(ThriftMetadata& metadata, ThriftService& context); }; template <> class ServiceMetadata<::apache::thrift::ServiceHandler<::cpp2::MyLeaf>> { public: static void gen(ThriftServiceMetadataResponse& response); private: static const ThriftServiceContextRef* genRecurse(ThriftMetadata& metadata, std::vector& services); template friend class ServiceMetadata; static void gen_do_leaf(ThriftMetadata& metadata, ThriftService& context); }; } // namespace md } // namespace detail } // namespace thrift } // namespace apache