class Collection
Defined at line 2906 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Statically declares a component instance collection.
Public Methods
void Collection ()
Defined at line 2908 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Collection (const Collection & other)
Defined at line 2909 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool has_allow_long_names ()
Collection & operator= (const Collection & other)
Defined at line 2910 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void Collection (Collection && other)
Defined at line 2911 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_decl::wire::Collection> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::Collection> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Collection>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & name ()
(Required) The name of the collection. Instances created in the
collection are scoped to this name.
bool has_name ()
::fuchsia_component_decl::wire::Durability & durability ()
(Required) The durability of instances in the collection.
bool has_durability ()
::fidl::StringView & environment ()
(Optional) The environment assigned to child instances in this
collection.
May be unset, in which case children in this collection will inherit the
parent component's environment. If set, the name must reference an
environment defined in the `ComponentDecl` and it must contain only the
following characters: [a-z0-9-_.].
bool has_environment ()
::fuchsia_component_decl::wire::AllowedOffers & allowed_offers ()
(Optional, defaults to `STATIC_ONLY`) The kinds of offers that can
target the child instances in this collection.
Only components using the `dynamic_offers` restricted feature may set
this field.
bool has_allowed_offers ()
bool & allow_long_names ()
(Optional, defaults to `false`) Whether child instances in this
collection can have names longer than the default length limit of 100.
Only components using the `allow_long_names` restricted feature may set
this field.
Collection & operator= (Collection && other)
Defined at line 2912 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
bool & persistent_storage ()
(Optional) Whether the data in isolated storage used by dynamic child
instances and their descendants will persist after the instances are
destroyed. New dynamic instances inherit the previous instances' data
stores.
This setting can be overridden by a lower-level collection that is a
descendant of a collection that enables/disables this setting.
This setting applies to all storage capabilities consumed by the
collection components and their descendants.
The default is the value inherited from an ancestral collection if set,
otherwise `false`.
bool has_persistent_storage ()
Collection & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Collection & set_name (std::nullptr_t )
Collection & clear_name ()
Collection & set_durability (::fuchsia_component_decl::wire::Durability elem)
Collection & clear_durability ()
Collection & set_environment (::fidl::ObjectView< ::fidl::StringView> elem)
Collection & set_environment (std::nullptr_t )
Collection & clear_environment ()
Collection & set_allowed_offers (::fuchsia_component_decl::wire::AllowedOffers elem)
Collection & clear_allowed_offers ()
Collection & set_allow_long_names (bool elem)
Collection & clear_allow_long_names ()
Collection & set_persistent_storage (bool elem)
Collection & clear_persistent_storage ()
void Collection (::fidl::AnyArena & allocator)
void Collection (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Collection>> && 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Collection>> && frame_ptr)
void ~Collection ()
Defined at line 2914 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