| // WARNING: This file is machine generated by fidlgen. |
| |
| // fidl_experiment = output_index_json |
| |
| #pragma once |
| |
| #include <fidl/test.emptystruct/cpp/natural_types.h> |
| #include <lib/fidl/cpp/natural_ostream.h> |
| |
| #include <iostream> |
| |
| #pragma clang diagnostic push |
| #pragma clang diagnostic ignored "-Wshadow" |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_emptystruct::Empty> { |
| static std::ostream& Format(std::ostream& os, const ::test_emptystruct::Empty& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_emptystruct::EmptyProtocolSendRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_emptystruct::EmptyProtocolSendRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_emptystruct::EmptyProtocolReceiveRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_emptystruct::EmptyProtocolReceiveRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_emptystruct::EmptyProtocolSendAndReceiveRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_emptystruct::EmptyProtocolSendAndReceiveRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_emptystruct::EmptyProtocolSendAndReceiveResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_emptystruct::EmptyProtocolSendAndReceiveResponse& value); |
| }; |
| |
| namespace test_emptystruct { |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_emptystruct::Empty& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_emptystruct::EmptyProtocolSendRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_emptystruct::EmptyProtocolReceiveRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_emptystruct::EmptyProtocolSendAndReceiveRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_emptystruct::EmptyProtocolSendAndReceiveResponse& value); |
| |
| } // namespace test_emptystruct |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_emptystruct::EmptyProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_emptystruct::EmptyProtocol>& value) { |
| return os << "ClientEnd<" << "test_emptystruct::EmptyProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_emptystruct::EmptyProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_emptystruct::EmptyProtocol>& value) { |
| return os << "ServerEnd<" << "test_emptystruct::EmptyProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| namespace fidl { |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_emptystruct::EmptyProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_emptystruct::EmptyProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_emptystruct::EmptyProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_emptystruct::EmptyProtocol>>::Format(os, value); |
| } |
| } // namespace fidl |
| |
| #endif // __Fuchsia__ |
| |
| #pragma clang diagnostic pop |