class Collection

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

Statically declares a component instance collection.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::string & name ()

(Required) The name of the collection. Instances created in the

collection are scoped to this name.

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

bool has_name ()

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

::std::string * mutable_name ()

(Required) The name of the collection. Instances created in the

collection are scoped to this name.

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

void clear_name ()

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

const ::fuchsia::component::decl::Durability & durability ()

(Required) The durability of instances in the collection.

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

bool has_durability ()

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

::fuchsia::component::decl::Durability * mutable_durability ()

(Required) The durability of instances in the collection.

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

void clear_durability ()

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

const ::std::string & 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-_.].

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

bool has_environment ()

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

::std::string * mutable_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-_.].

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

void clear_environment ()

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

const ::fuchsia::component::decl::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.

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

bool has_allowed_offers ()

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

::fuchsia::component::decl::AllowedOffers * mutable_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.

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

void clear_allowed_offers ()

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

const 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.

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

bool has_allow_long_names ()

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

bool * mutable_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.

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

void clear_allow_long_names ()

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

const 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`.

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

bool has_persistent_storage ()

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

bool * mutable_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`.

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

void clear_persistent_storage ()

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

Collection & set_name (::std::string _value)
Collection & set_durability (::fuchsia::component::decl::Durability _value)
Collection & set_environment (::std::string _value)
Collection & set_allowed_offers (::fuchsia::component::decl::AllowedOffers _value)
Collection & set_allow_long_names (bool _value)
Collection & set_persistent_storage (bool _value)
void Collection ()
void Collection (Collection && other)
void ~Collection ()
Collection & operator= (Collection && other)
::std::unique_ptr<Collection> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Collection * _value, size_t _offset)
zx_status_t Clone (Collection * _result)