blob: b5f7bd41c93ccf1f9e882b4493d3fa03bb391a59 [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
#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>
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::EmptyProtocolSendAndReceiveTopResponse,
::test_emptystruct::EmptyProtocolSendAndReceiveTopResponse> {
static ::test_emptystruct::EmptyProtocolSendAndReceiveTopResponse ToNatural(
::test_emptystruct::wire::EmptyProtocolSendAndReceiveTopResponse src);
static ::test_emptystruct::wire::EmptyProtocolSendAndReceiveTopResponse
ToWire(fidl::AnyArena& arena,
::test_emptystruct::EmptyProtocolSendAndReceiveTopResponse src);
};
template <>
struct NaturalTypeForWireType<
::test_emptystruct::wire::EmptyProtocolSendAndReceiveTopResponse> {
using type = ::test_emptystruct::EmptyProtocolSendAndReceiveTopResponse;
};
template <>
struct WireTypeForNaturalType<
::test_emptystruct::EmptyProtocolSendAndReceiveTopResponse> {
using type = ::test_emptystruct::wire::EmptyProtocolSendAndReceiveTopResponse;
};
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::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;
};
#ifdef __Fuchsia__
template <>
struct WireNaturalConversionTraits<
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::Send>,
::fidl::Request<::test_emptystruct::EmptyProtocol::Send>> {
static ::fidl::Request<::test_emptystruct::EmptyProtocol::Send> ToNatural(
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::Send> src);
static ::fidl::WireRequest<::test_emptystruct::EmptyProtocol::Send> ToWire(
fidl::AnyArena& arena,
::fidl::Request<::test_emptystruct::EmptyProtocol::Send> src);
};
template <>
struct NaturalTypeForWireType<
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::Send>> {
using type = ::fidl::Request<::test_emptystruct::EmptyProtocol::Send>;
};
template <>
struct WireTypeForNaturalType<
::fidl::Request<::test_emptystruct::EmptyProtocol::Send>> {
using type = ::fidl::WireRequest<::test_emptystruct::EmptyProtocol::Send>;
};
template <>
struct WireNaturalConversionTraits<
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::SendAndReceive>,
::fidl::Request<::test_emptystruct::EmptyProtocol::SendAndReceive>> {
static ::fidl::Request<::test_emptystruct::EmptyProtocol::SendAndReceive>
ToNatural(
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::SendAndReceive>
src);
static ::fidl::WireRequest<::test_emptystruct::EmptyProtocol::SendAndReceive>
ToWire(
fidl::AnyArena& arena,
::fidl::Request<::test_emptystruct::EmptyProtocol::SendAndReceive> src);
};
template <>
struct NaturalTypeForWireType<
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::SendAndReceive>> {
using type =
::fidl::Request<::test_emptystruct::EmptyProtocol::SendAndReceive>;
};
template <>
struct WireTypeForNaturalType<
::fidl::Request<::test_emptystruct::EmptyProtocol::SendAndReceive>> {
using type =
::fidl::WireRequest<::test_emptystruct::EmptyProtocol::SendAndReceive>;
};
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>;
};
template <>
struct WireNaturalConversionTraits<
::fidl::WireEvent<::test_emptystruct::EmptyProtocol::Receive>,
::fidl::Event<::test_emptystruct::EmptyProtocol::Receive>> {
static ::fidl::Event<::test_emptystruct::EmptyProtocol::Receive> ToNatural(
::fidl::WireEvent<::test_emptystruct::EmptyProtocol::Receive> src);
static ::fidl::WireEvent<::test_emptystruct::EmptyProtocol::Receive> ToWire(
fidl::AnyArena& arena,
::fidl::Event<::test_emptystruct::EmptyProtocol::Receive> src);
};
template <>
struct NaturalTypeForWireType<
::fidl::WireEvent<::test_emptystruct::EmptyProtocol::Receive>> {
using type = ::fidl::Event<::test_emptystruct::EmptyProtocol::Receive>;
};
template <>
struct WireTypeForNaturalType<
::fidl::Event<::test_emptystruct::EmptyProtocol::Receive>> {
using type = ::fidl::WireEvent<::test_emptystruct::EmptyProtocol::Receive>;
};
#endif // __Fuchsia__
} // namespace internal
} // namespace fidl