class BatteryGetStatusResult

Defined at line 440 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/natural_types.h

Public Methods

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

Sets the union to hold the response member.

BatteryGetStatusResult WithErr (::fuchsia_hardware_power_source::Error val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
BatteryGetStatusResult & err (::fuchsia_hardware_power_source::Error value)

Sets the union to hold the err member.

BatteryGetStatusResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
BatteryGetStatusResult & framework_err (::fidl::internal::FrameworkErr value)

Sets the union to hold the framework_err member.

void BatteryGetStatusResult (::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 448 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits