blob: d12e8e6c5333f0626bc77daa06700f86508b9a2e [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#pragma once
#include <fidl/test.nullable/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_nullable::StructWithNullableString> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableString& value);
};
template <>
struct fidl::ostream::Formatter<::test_nullable::StructWithNullableVector> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableVector& value);
};
#if __FIDL_SUPPORT_HANDLES
template <>
struct fidl::ostream::Formatter<::test_nullable::StructWithNullableHandle> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableHandle& value);
};
#endif // __FIDL_SUPPORT_HANDLES
template <>
struct fidl::ostream::Formatter<::test_nullable::SimpleProtocolAddRequest> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::SimpleProtocolAddRequest& value);
};
template <>
struct fidl::ostream::Formatter<::test_nullable::SimpleProtocolAddResponse> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::SimpleProtocolAddResponse& value);
};
#if __FIDL_SUPPORT_HANDLES
template <>
struct fidl::ostream::Formatter<::test_nullable::StructWithNullableProtocol> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableProtocol& value);
};
template <>
struct fidl::ostream::Formatter<::test_nullable::StructWithNullableRequest> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableRequest& value);
};
#endif // __FIDL_SUPPORT_HANDLES
template <>
struct fidl::ostream::Formatter<::test_nullable::Int32Wrapper> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::Int32Wrapper& value);
};
template <>
struct fidl::ostream::Formatter<::test_nullable::StructWithNullableStruct> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableStruct& value);
};
template <>
struct fidl::ostream::Formatter<::test_nullable::SimpleUnion> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::SimpleUnion& value);
};
template <>
struct fidl::ostream::Formatter<::test_nullable::StructWithNullableUnion> {
static std::ostream& Format(std::ostream& os, const ::test_nullable::StructWithNullableUnion& value);
};
namespace test_nullable {
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableString& value);
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableVector& value);
#if __FIDL_SUPPORT_HANDLES
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableHandle& value);
#endif // __FIDL_SUPPORT_HANDLES
std::ostream& operator<<(std::ostream& os, const ::test_nullable::SimpleProtocolAddRequest& value);
std::ostream& operator<<(std::ostream& os, const ::test_nullable::SimpleProtocolAddResponse& value);
#if __FIDL_SUPPORT_HANDLES
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableProtocol& value);
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableRequest& value);
#endif // __FIDL_SUPPORT_HANDLES
std::ostream& operator<<(std::ostream& os, const ::test_nullable::Int32Wrapper& value);
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableStruct& value);
std::ostream& operator<<(std::ostream& os, const ::test_nullable::SimpleUnion& value);
std::ostream& operator<<(std::ostream& os, const ::test_nullable::StructWithNullableUnion& value);
} // namespace test_nullable
#if __FIDL_SUPPORT_HANDLES
template <>
struct fidl::ostream::Formatter<::fidl::ClientEnd<::test_nullable::SimpleProtocol>> {
static std::ostream& Format(std::ostream& os, const ::fidl::ClientEnd<::test_nullable::SimpleProtocol>& value);
};
template <>
struct fidl::ostream::Formatter<::fidl::ServerEnd<::test_nullable::SimpleProtocol>> {
static std::ostream& Format(std::ostream& os, const ::fidl::ServerEnd<::test_nullable::SimpleProtocol>& value);
};
std::ostream& operator<<(std::ostream& os, const ::fidl::ClientEnd<::test_nullable::SimpleProtocol>& value);
std::ostream& operator<<(std::ostream& os, const ::fidl::ServerEnd<::test_nullable::SimpleProtocol>& value);
#endif // __FIDL_SUPPORT_HANDLES
#pragma clang diagnostic pop