blob: da4042b80861db139cba5fd4bc3568744f7f7bcb [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
#pragma once
#include "lib/fidl/cpp/internal/header.h"
namespace test {
namespace name {
class Empty;
class Empty {
public:
static const fidl_type_t* FidlType;
uint8_t __reserved = 0;
static inline ::std::unique_ptr<Empty> New() { return ::std::make_unique<Empty>(); }
void Encode(::fidl::Encoder* encoder, size_t offset);
static void Decode(::fidl::Decoder* decoder, Empty* value, size_t offset);
zx_status_t Clone(Empty* result) const;
};
bool operator==(const Empty& lhs, const Empty& rhs);
inline bool operator!=(const Empty& lhs, const Empty& rhs) {
return !(lhs == rhs);
}
inline zx_status_t Clone(const ::test::name::Empty& value,
::test::name::Empty* result) {
return value.Clone(result);
}
using EmptyPtr = ::std::unique_ptr<Empty>;
} // namespace name
} // namespace test
namespace fidl {
template <>
struct CodingTraits<::test::name::Empty>
: public EncodableCodingTraits<::test::name::Empty, 1> {};
inline zx_status_t Clone(const ::test::name::Empty& value,
::test::name::Empty* result) {
return ::test::name::Clone(value, result);
}} // namespace fidl