class DeviceRegisterReadResult
Defined at line 492 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/natural_types.h
Public Methods
void DeviceRegisterReadResult (DeviceRegisterReadResult && other)
DeviceRegisterReadResult & operator= (DeviceRegisterReadResult && other)
void DeviceRegisterReadResult (const DeviceRegisterReadResult & other)
DeviceRegisterReadResult & operator= (const DeviceRegisterReadResult & other)
bool operator== (const DeviceRegisterReadResult & other)
bool operator!= (const DeviceRegisterReadResult & other)
::fuchsia_hardware_spmi::DeviceRegisterReadResult::Tag Which ()
DeviceRegisterReadResult WithResponse (::fuchsia_hardware_spmi::DeviceRegisterReadResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceRegisterReadResult & response (::fuchsia_hardware_spmi::DeviceRegisterReadResponse value)
Sets the union to hold the response member.
DeviceRegisterReadResult WithErr (::fuchsia_hardware_spmi::DriverError val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceRegisterReadResult & err (::fuchsia_hardware_spmi::DriverError value)
Sets the union to hold the err member.
DeviceRegisterReadResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
DeviceRegisterReadResult & framework_err (::fidl::internal::FrameworkErr value)
Sets the union to hold the framework_err member.
void DeviceRegisterReadResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kResponse | 1 |
0x1 |
| kErr | 2 |
0x2 |
| kFrameworkErr | 3 |
0x3 |
TODO: share union tag types between wire
&
natural.
Defined at line 500 of file fidling/gen/sdk/fidl/fuchsia.hardware.spmi/fuchsia.hardware.spmi/cpp/fidl/fuchsia.hardware.spmi/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits