class DeviceGetCurrentVoltageResult
Defined at line 1390 of file fidling/gen/sdk/fidl/fuchsia.hardware.power/fuchsia.hardware.power/cpp/fidl/fuchsia.hardware.power/cpp/natural_types.h
Public Methods
void DeviceGetCurrentVoltageResult (DeviceGetCurrentVoltageResult && other)
DeviceGetCurrentVoltageResult & operator= (DeviceGetCurrentVoltageResult && other)
void DeviceGetCurrentVoltageResult (const DeviceGetCurrentVoltageResult & other)
DeviceGetCurrentVoltageResult & operator= (const DeviceGetCurrentVoltageResult & other)
bool operator== (const DeviceGetCurrentVoltageResult & other)
bool operator!= (const DeviceGetCurrentVoltageResult & other)
::fuchsia_hardware_power::DeviceGetCurrentVoltageResult::Tag Which ()
DeviceGetCurrentVoltageResult WithResponse (::fuchsia_hardware_power::DeviceGetCurrentVoltageResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceGetCurrentVoltageResult & response (::fuchsia_hardware_power::DeviceGetCurrentVoltageResponse value)
Sets the union to hold the response member.
DeviceGetCurrentVoltageResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceGetCurrentVoltageResult & err (int32_t value)
Sets the union to hold the err member.
void DeviceGetCurrentVoltageResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 1398 of file fidling/gen/sdk/fidl/fuchsia.hardware.power/fuchsia.hardware.power/cpp/fidl/fuchsia.hardware.power/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits