class Package

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

A package is a signed collection of immutable files.

This object provides access to a package's content and relevant metadata.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_component_resolution::wire::Package> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component_resolution::wire::Package> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_resolution::wire::Package>> 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_resolution::wire::Package>> && frame_ptr)
void Package ()

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

void Package (Package && other)

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

void _CloseHandles ()
Package & operator= (const Package & other)

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

Package & operator= (Package && other)

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

::fidl::StringView & url ()

The URL of the package itself.

::fidl::ClientEnd< ::fuchsia_io::Directory> & directory ()

The package's content directory.

bool has_directory ()
Package & set_url (::fidl::ObjectView< ::fidl::StringView> elem)
Package & set_url (std::nullptr_t )
Package & clear_url ()
Package & set_directory (::fidl::ClientEnd< ::fuchsia_io::Directory> elem)
Package & clear_directory ()
void Package (::fidl::AnyArena & allocator)
void Package (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_resolution::wire::Package>> && 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 Package (const Package & other)

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

bool has_url ()
void ~Package ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder