class Spec

Defined at line 681 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Static hardware characteristics of a power source.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_power_source::wire::Spec> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_power_source::wire::Spec> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power_source::wire::Spec>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Spec ()

Defined at line 683 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

void Spec (const Spec & other)

Defined at line 684 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Spec & operator= (const Spec & other)

Defined at line 685 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

void Spec (Spec && other)

Defined at line 686 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

::fidl::StringView & name ()

Unique name of the source (e.g., "USB-C", "Main Battery").

bool has_name ()
Spec & operator= (Spec && other)

Defined at line 687 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

::fidl::VectorView< ::fuchsia_hardware_power_source::wire::Role> & supported_roles ()

The roles this source is capable of performing.

bool has_supported_roles ()
::fidl::StringView & manufacturer ()

The name of the manufacturer of this hardware.

bool has_manufacturer ()
::fidl::StringView & model_name ()

The model name or number assigned by the manufacturer.

bool has_model_name ()
::fuchsia_hardware_power_source::wire::SourceType & type ()

The category of this power entity.

bool has_type ()
void ~Spec ()

Defined at line 689 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder