blob: e6c27c1fc276a89b869eca27f34c93942ac1013f [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#pragma once
#include <fidl/test.emptystruct/cpp/markers.h>
#include <fidl/test.emptystruct/cpp/natural_types.h>
#include <fidl/test.emptystruct/cpp/wire_types.h>
#ifdef __Fuchsia__
#include <fidl/test.emptystruct/cpp/natural_messaging.h>
#include <fidl/test.emptystruct/cpp/wire_messaging.h>
#endif // __Fuchsia__
#include <lib/fidl/cpp/wire_natural_conversions.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
namespace fidl {
namespace internal {
template <>
struct WireNaturalConversionTraits<::test_emptystruct::wire::Empty, ::test_emptystruct::Empty> {
static ::test_emptystruct::Empty ToNatural(::test_emptystruct::wire::Empty src);
static ::test_emptystruct::wire::Empty ToWire(fidl::AnyArena& arena, ::test_emptystruct::Empty src);
};
template <>
struct NaturalTypeForWireType<::test_emptystruct::wire::Empty> {
using type = ::test_emptystruct::Empty;
};
template <>
struct WireTypeForNaturalType<::test_emptystruct::Empty> {
using type = ::test_emptystruct::wire::Empty;
};
template <>
struct WireNaturalConversionTraits<::test_emptystruct::wire::EmptyProtocolSendRequest, ::test_emptystruct::EmptyProtocolSendRequest> {
static ::test_emptystruct::EmptyProtocolSendRequest ToNatural(::test_emptystruct::wire::EmptyProtocolSendRequest src);
static ::test_emptystruct::wire::EmptyProtocolSendRequest ToWire(fidl::AnyArena& arena, ::test_emptystruct::EmptyProtocolSendRequest src);
};
template <>
struct NaturalTypeForWireType<::test_emptystruct::wire::EmptyProtocolSendRequest> {
using type = ::test_emptystruct::EmptyProtocolSendRequest;
};
template <>
struct WireTypeForNaturalType<::test_emptystruct::EmptyProtocolSendRequest> {
using type = ::test_emptystruct::wire::EmptyProtocolSendRequest;
};
template <>
struct WireNaturalConversionTraits<::test_emptystruct::wire::EmptyProtocolReceiveRequest, ::test_emptystruct::EmptyProtocolReceiveRequest> {
static ::test_emptystruct::EmptyProtocolReceiveRequest ToNatural(::test_emptystruct::wire::EmptyProtocolReceiveRequest src);
static ::test_emptystruct::wire::EmptyProtocolReceiveRequest ToWire(fidl::AnyArena& arena, ::test_emptystruct::EmptyProtocolReceiveRequest src);
};
template <>
struct NaturalTypeForWireType<::test_emptystruct::wire::EmptyProtocolReceiveRequest> {
using type = ::test_emptystruct::EmptyProtocolReceiveRequest;
};
template <>
struct WireTypeForNaturalType<::test_emptystruct::EmptyProtocolReceiveRequest> {
using type = ::test_emptystruct::wire::EmptyProtocolReceiveRequest;
};
template <>
struct WireNaturalConversionTraits<::test_emptystruct::wire::EmptyProtocolSendAndReceiveRequest, ::test_emptystruct::EmptyProtocolSendAndReceiveRequest> {
static ::test_emptystruct::EmptyProtocolSendAndReceiveRequest ToNatural(::test_emptystruct::wire::EmptyProtocolSendAndReceiveRequest src);
static ::test_emptystruct::wire::EmptyProtocolSendAndReceiveRequest ToWire(fidl::AnyArena& arena, ::test_emptystruct::EmptyProtocolSendAndReceiveRequest src);
};
template <>
struct NaturalTypeForWireType<::test_emptystruct::wire::EmptyProtocolSendAndReceiveRequest> {
using type = ::test_emptystruct::EmptyProtocolSendAndReceiveRequest;
};
template <>
struct WireTypeForNaturalType<::test_emptystruct::EmptyProtocolSendAndReceiveRequest> {
using type = ::test_emptystruct::wire::EmptyProtocolSendAndReceiveRequest;
};
template <>
struct WireNaturalConversionTraits<::test_emptystruct::wire::EmptyProtocolSendAndReceiveResponse, ::test_emptystruct::EmptyProtocolSendAndReceiveResponse> {
static ::test_emptystruct::EmptyProtocolSendAndReceiveResponse ToNatural(::test_emptystruct::wire::EmptyProtocolSendAndReceiveResponse src);
static ::test_emptystruct::wire::EmptyProtocolSendAndReceiveResponse ToWire(fidl::AnyArena& arena, ::test_emptystruct::EmptyProtocolSendAndReceiveResponse src);
};
template <>
struct NaturalTypeForWireType<::test_emptystruct::wire::EmptyProtocolSendAndReceiveResponse> {
using type = ::test_emptystruct::EmptyProtocolSendAndReceiveResponse;
};
template <>
struct WireTypeForNaturalType<::test_emptystruct::EmptyProtocolSendAndReceiveResponse> {
using type = ::test_emptystruct::wire::EmptyProtocolSendAndReceiveResponse;
};
#ifdef __Fuchsia__
template <>
struct WireNaturalConversionTraits<::fidl::WireResponse<::test_emptystruct::EmptyProtocol::SendAndReceive>, ::fidl::Response<::test_emptystruct::EmptyProtocol::SendAndReceive>> {
static ::fidl::Response<::test_emptystruct::EmptyProtocol::SendAndReceive> ToNatural(::fidl::WireResponse<::test_emptystruct::EmptyProtocol::SendAndReceive> src);
static ::fidl::WireResponse<::test_emptystruct::EmptyProtocol::SendAndReceive> ToWire(fidl::AnyArena& arena, ::fidl::Response<::test_emptystruct::EmptyProtocol::SendAndReceive> src);
};
template <>
struct NaturalTypeForWireType<::fidl::WireResponse<::test_emptystruct::EmptyProtocol::SendAndReceive>> {
using type = ::fidl::Response<::test_emptystruct::EmptyProtocol::SendAndReceive>;
};
template <>
struct WireTypeForNaturalType<::fidl::Response<::test_emptystruct::EmptyProtocol::SendAndReceive>> {
using type = ::fidl::WireResponse<::test_emptystruct::EmptyProtocol::SendAndReceive>;
};
#endif // __Fuchsia__
#pragma clang diagnostic pop
} // namespace internal
} // namespace fidl