class Service

Defined at line 1688 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Declares a service capability backed by this component.

To learn more about services, see:

https://fuchsia.dev/fuchsia-src/glossary#service

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::Service> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Service> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Service>> frame)

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

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Service>> && frame_ptr)
void Service ()

Defined at line 1690 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

void Service (Service && other)

Defined at line 1693 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

::fidl::StringView & name ()

(Required) The name of this service.

bool has_name ()
bool has_source_path ()
Service & operator= (const Service & other)

Defined at line 1692 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Service & operator= (Service && other)

Defined at line 1694 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Service & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Service & set_name (std::nullptr_t )
Service & clear_name ()
Service & set_source_path (::fidl::ObjectView< ::fidl::StringView> elem)
Service & set_source_path (std::nullptr_t )
Service & clear_source_path ()
void Service (::fidl::AnyArena & allocator)
void Service (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Service>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Service (const Service & other)

Defined at line 1691 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

::fidl::StringView & source_path ()

(Optional) The path to the service in the component's outgoing

directory.

Not set for built-in capabilities.

void ~Service ()

Defined at line 1696 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder