class DeviceGetNameResult

Defined at line 367 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/natural_types.h

Public Methods

void DeviceGetNameResult (DeviceGetNameResult && other)
DeviceGetNameResult & operator= (DeviceGetNameResult && other)
void DeviceGetNameResult (const DeviceGetNameResult & other)
DeviceGetNameResult & operator= (const DeviceGetNameResult & other)
bool operator== (const DeviceGetNameResult & other)
bool operator!= (const DeviceGetNameResult & other)
::fuchsia_hardware_i2c::DeviceGetNameResult::Tag Which ()
DeviceGetNameResult WithResponse (::fuchsia_hardware_i2c::DeviceGetNameResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceGetNameResult & response (::fuchsia_hardware_i2c::DeviceGetNameResponse value)

Sets the union to hold the response member.

DeviceGetNameResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceGetNameResult & err (int32_t value)

Sets the union to hold the err member.

void DeviceGetNameResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

Defined at line 375 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c/fuchsia.hardware.i2c/cpp/fidl/fuchsia.hardware.i2c/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits