| // WARNING: This file is machine generated by fidlgen. |
| |
| // fidl_experiment = output_index_json |
| |
| #pragma once |
| |
| #include <fidl/test.protocols/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_protocols::WithAndWithoutRequestResponseNoRequestWithResponseResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseNoRequestWithResponseResponse& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithAndWithoutRequestResponseWithRequestNoResponseRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestNoResponseRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithAndWithoutRequestResponseWithRequestEmptyResponseRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestEmptyResponseRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithAndWithoutRequestResponseWithRequestWithResponseRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestWithResponseRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithAndWithoutRequestResponseWithRequestWithResponseResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestWithResponseResponse& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithAndWithoutRequestResponseOnWithResponseRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseOnWithResponseRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ErrorEnum> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ErrorEnum& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxResponseAsStructResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxResponseAsStructResponse& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxResponseAsStructResult> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxResponseAsStructResult& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxErrorAsPrimitiveResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsPrimitiveResponse& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxErrorAsPrimitiveResult> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsPrimitiveResult& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxErrorAsEnumResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsEnumResponse& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxErrorAsEnumResult> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsEnumResult& value); |
| }; |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxHandleInResultResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxHandleInResultResponse& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithErrorSyntaxHandleInResultResult> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithErrorSyntaxHandleInResultResult& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolMethodARequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolMethodARequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolEventARequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolEventARequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolMethodBRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolMethodBRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolMethodBResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolMethodBResponse& value); |
| }; |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolTakeHandleRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolTakeHandleRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolMutateSocketRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolMutateSocketRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ChannelProtocolMutateSocketResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ChannelProtocolMutateSocketResponse& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::SyscallProtocolMethodCRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::SyscallProtocolMethodCRequest& value); |
| }; |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::HandleRightsProtocolNoResponseMethodRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::HandleRightsProtocolNoResponseMethodRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::HandleRightsProtocolResponseMethodRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::HandleRightsProtocolResponseMethodRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::HandleRightsProtocolResponseMethodResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::HandleRightsProtocolResponseMethodResponse& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::HandleRightsProtocolAnEventRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::HandleRightsProtocolAnEventRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ProtocolEnds> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ProtocolEnds& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithProtocolEndsClientEndsRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithProtocolEndsClientEndsRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithProtocolEndsClientEndsResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithProtocolEndsClientEndsResponse& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithProtocolEndsServerEndsRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithProtocolEndsServerEndsRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithProtocolEndsServerEndsResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithProtocolEndsServerEndsResponse& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithProtocolEndsStructContainingEndsRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithProtocolEndsStructContainingEndsRequest& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::WithProtocolEndsStructContainingEndsResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::WithProtocolEndsStructContainingEndsResponse& value); |
| }; |
| |
| #endif // __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::ManyParametersFifteenRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::ManyParametersFifteenRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::TheUnion> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::TheUnion& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::MethodWithUnionUnionMethodRequest> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::MethodWithUnionUnionMethodRequest& value); |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::test_protocols::MethodWithUnionUnionMethodResponse> { |
| static std::ostream& Format(std::ostream& os, const ::test_protocols::MethodWithUnionUnionMethodResponse& value); |
| }; |
| |
| namespace test_protocols { |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseNoRequestWithResponseResponse& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestNoResponseRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestEmptyResponseRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestWithResponseRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseWithRequestWithResponseResponse& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithAndWithoutRequestResponseOnWithResponseRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ErrorEnum& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxResponseAsStructResponse& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxResponseAsStructResult& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsPrimitiveResponse& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsPrimitiveResult& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsEnumResponse& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxErrorAsEnumResult& value); |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxHandleInResultResponse& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithErrorSyntaxHandleInResultResult& value); |
| |
| #endif // __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolMethodARequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolEventARequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolMethodBRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolMethodBResponse& value); |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolTakeHandleRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolMutateSocketRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ChannelProtocolMutateSocketResponse& value); |
| |
| #endif // __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::SyscallProtocolMethodCRequest& value); |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::HandleRightsProtocolNoResponseMethodRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::HandleRightsProtocolResponseMethodRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::HandleRightsProtocolResponseMethodResponse& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::HandleRightsProtocolAnEventRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ProtocolEnds& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithProtocolEndsClientEndsRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithProtocolEndsClientEndsResponse& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithProtocolEndsServerEndsRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithProtocolEndsServerEndsResponse& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithProtocolEndsStructContainingEndsRequest& value); |
| |
| #endif // __Fuchsia__ |
| |
| #ifdef __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::WithProtocolEndsStructContainingEndsResponse& value); |
| |
| #endif // __Fuchsia__ |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::ManyParametersFifteenRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::TheUnion& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::MethodWithUnionUnionMethodRequest& value); |
| |
| std::ostream& operator<<(std::ostream& os, const ::test_protocols::MethodWithUnionUnionMethodResponse& value); |
| |
| } // namespace test_protocols |
| |
| #ifdef __Fuchsia__ |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::WithAndWithoutRequestResponse>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::WithAndWithoutRequestResponse>& value) { |
| return os << "ClientEnd<" << "test_protocols::WithAndWithoutRequestResponse" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::WithAndWithoutRequestResponse>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::WithAndWithoutRequestResponse>& value) { |
| return os << "ServerEnd<" << "test_protocols::WithAndWithoutRequestResponse" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::WithErrorSyntax>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::WithErrorSyntax>& value) { |
| return os << "ClientEnd<" << "test_protocols::WithErrorSyntax" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::WithErrorSyntax>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::WithErrorSyntax>& value) { |
| return os << "ServerEnd<" << "test_protocols::WithErrorSyntax" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::ChannelProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::ChannelProtocol>& value) { |
| return os << "ClientEnd<" << "test_protocols::ChannelProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::ChannelProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::ChannelProtocol>& value) { |
| return os << "ServerEnd<" << "test_protocols::ChannelProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::DiscoverableProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::DiscoverableProtocol>& value) { |
| return os << "ClientEnd<" << "test_protocols::DiscoverableProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::DiscoverableProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::DiscoverableProtocol>& value) { |
| return os << "ServerEnd<" << "test_protocols::DiscoverableProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::AnotherDiscoverableProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::AnotherDiscoverableProtocol>& value) { |
| return os << "ClientEnd<" << "test_protocols::AnotherDiscoverableProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::AnotherDiscoverableProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::AnotherDiscoverableProtocol>& value) { |
| return os << "ServerEnd<" << "test_protocols::AnotherDiscoverableProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::PlatformServer>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::PlatformServer>& value) { |
| return os << "ClientEnd<" << "test_protocols::PlatformServer" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::PlatformServer>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::PlatformServer>& value) { |
| return os << "ServerEnd<" << "test_protocols::PlatformServer" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::HandleRightsProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::HandleRightsProtocol>& value) { |
| return os << "ClientEnd<" << "test_protocols::HandleRightsProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::HandleRightsProtocol>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::HandleRightsProtocol>& value) { |
| return os << "ServerEnd<" << "test_protocols::HandleRightsProtocol" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::WithProtocolEnds>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::WithProtocolEnds>& value) { |
| return os << "ClientEnd<" << "test_protocols::WithProtocolEnds" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::WithProtocolEnds>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::WithProtocolEnds>& value) { |
| return os << "ServerEnd<" << "test_protocols::WithProtocolEnds" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::ManyParameters>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::ManyParameters>& value) { |
| return os << "ClientEnd<" << "test_protocols::ManyParameters" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::ManyParameters>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::ManyParameters>& value) { |
| return os << "ServerEnd<" << "test_protocols::ManyParameters" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::MethodWithUnion>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::MethodWithUnion>& value) { |
| return os << "ClientEnd<" << "test_protocols::MethodWithUnion" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| template <> |
| struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::MethodWithUnion>> { |
| static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::MethodWithUnion>& value) { |
| return os << "ServerEnd<" << "test_protocols::MethodWithUnion" << ">(" << value.channel().get() << ")"; |
| } |
| }; |
| |
| namespace fidl { |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::WithAndWithoutRequestResponse>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::WithAndWithoutRequestResponse>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::WithAndWithoutRequestResponse>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::WithAndWithoutRequestResponse>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::WithErrorSyntax>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::WithErrorSyntax>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::WithErrorSyntax>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::WithErrorSyntax>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::ChannelProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::ChannelProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::ChannelProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::ChannelProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::DiscoverableProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::DiscoverableProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::DiscoverableProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::DiscoverableProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::AnotherDiscoverableProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::AnotherDiscoverableProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::AnotherDiscoverableProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::AnotherDiscoverableProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::PlatformServer>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::PlatformServer>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::PlatformServer>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::PlatformServer>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::HandleRightsProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::HandleRightsProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::HandleRightsProtocol>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::HandleRightsProtocol>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::WithProtocolEnds>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::WithProtocolEnds>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::WithProtocolEnds>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::WithProtocolEnds>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::ManyParameters>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::ManyParameters>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::ManyParameters>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::ManyParameters>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_protocols::MethodWithUnion>& value) { |
| return fidl::ostream::Formatter<::fidl::ClientEnd<::test_protocols::MethodWithUnion>>::Format(os, value); |
| } |
| |
| inline std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_protocols::MethodWithUnion>& value) { |
| return fidl::ostream::Formatter<::fidl::ServerEnd<::test_protocols::MethodWithUnion>>::Format(os, value); |
| } |
| } // namespace fidl |
| |
| #endif // __Fuchsia__ |
| |
| #pragma clang diagnostic pop |