blob: 922d45910fb75ed2108dd5df552fbe450667676b [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#pragma once
#include <fidl/test.doccomments/cpp/markers.h>
#include <fidl/test.doccomments/cpp/natural_types.h>
#include <fidl/test.doccomments/cpp/wire_types.h>
#ifdef __Fuchsia__
#include <fidl/test.doccomments/cpp/natural_messaging.h>
#include <fidl/test.doccomments/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 NaturalTypeForWireType<::test_doccomments::wire::MyStrictBits> {
using type = ::test_doccomments::MyStrictBits;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::MyStrictBits> {
using type = ::test_doccomments::wire::MyStrictBits;
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::MyFlexibleBits> {
using type = ::test_doccomments::MyFlexibleBits;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::MyFlexibleBits> {
using type = ::test_doccomments::wire::MyFlexibleBits;
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::MyStrictEnum> {
using type = ::test_doccomments::MyStrictEnum;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::MyStrictEnum> {
using type = ::test_doccomments::wire::MyStrictEnum;
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::MyFlexibleEnum> {
using type = ::test_doccomments::MyFlexibleEnum;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::MyFlexibleEnum> {
using type = ::test_doccomments::wire::MyFlexibleEnum;
};
template <>
struct WireNaturalConversionTraits<::test_doccomments::wire::Struct, ::test_doccomments::Struct> {
static ::test_doccomments::Struct ToNatural(::test_doccomments::wire::Struct src);
static ::test_doccomments::wire::Struct ToWire(fidl::AnyArena& arena, ::test_doccomments::Struct src);
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::Struct> {
using type = ::test_doccomments::Struct;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::Struct> {
using type = ::test_doccomments::wire::Struct;
};
template <>
struct WireNaturalConversionTraits<::test_doccomments::wire::Table, ::test_doccomments::Table> {
static ::test_doccomments::Table ToNatural(::test_doccomments::wire::Table src);
static ::test_doccomments::wire::Table ToWire(fidl::AnyArena& arena, ::test_doccomments::Table src);
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::Table> {
using type = ::test_doccomments::Table;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::Table> {
using type = ::test_doccomments::wire::Table;
};
template <>
struct WireNaturalConversionTraits<::test_doccomments::wire::StrictUnion, ::test_doccomments::StrictUnion> {
static ::test_doccomments::StrictUnion ToNatural(::test_doccomments::wire::StrictUnion src);
static ::test_doccomments::wire::StrictUnion ToWire(fidl::AnyArena& arena, ::test_doccomments::StrictUnion src);
};
template <>
struct WireNaturalConversionTraits<::fidl::WireOptional<::test_doccomments::wire::StrictUnion>, std::unique_ptr<::test_doccomments::StrictUnion>> {
static std::unique_ptr<::test_doccomments::StrictUnion> ToNatural(::fidl::WireOptional<::test_doccomments::wire::StrictUnion> src);
static ::fidl::WireOptional<::test_doccomments::wire::StrictUnion> ToWire(fidl::AnyArena& arena, std::unique_ptr<::test_doccomments::StrictUnion> src);
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::StrictUnion> {
using type = ::test_doccomments::StrictUnion;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::StrictUnion> {
using type = ::test_doccomments::wire::StrictUnion;
};
template <>
struct WireNaturalConversionTraits<::test_doccomments::wire::FlexibleUnion, ::test_doccomments::FlexibleUnion> {
static ::test_doccomments::FlexibleUnion ToNatural(::test_doccomments::wire::FlexibleUnion src);
static ::test_doccomments::wire::FlexibleUnion ToWire(fidl::AnyArena& arena, ::test_doccomments::FlexibleUnion src);
};
template <>
struct WireNaturalConversionTraits<::fidl::WireOptional<::test_doccomments::wire::FlexibleUnion>, std::unique_ptr<::test_doccomments::FlexibleUnion>> {
static std::unique_ptr<::test_doccomments::FlexibleUnion> ToNatural(::fidl::WireOptional<::test_doccomments::wire::FlexibleUnion> src);
static ::fidl::WireOptional<::test_doccomments::wire::FlexibleUnion> ToWire(fidl::AnyArena& arena, std::unique_ptr<::test_doccomments::FlexibleUnion> src);
};
template <>
struct NaturalTypeForWireType<::test_doccomments::wire::FlexibleUnion> {
using type = ::test_doccomments::FlexibleUnion;
};
template <>
struct WireTypeForNaturalType<::test_doccomments::FlexibleUnion> {
using type = ::test_doccomments::wire::FlexibleUnion;
};
#ifdef __Fuchsia__
#endif // __Fuchsia__
#pragma clang diagnostic pop
} // namespace internal
} // namespace fidl