class Child

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

Statically declares a child component instance.

Public Methods

void Child ()

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

void Child (const Child & other)

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

void Child (Child && other)

Defined at line 3763 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::Child> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

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

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

::fidl::StringView & name ()

(Required) The name assigned to the child by its parent.

Must be non-empty, unique among all siblings, and contain only the

following characters: [a-z0-9-_.].

bool has_name ()
::fidl::StringView & url ()

(Required) The child component's URL.

Must be non-empty and a well-formed URL.

bool has_url ()
::fuchsia_component_decl::wire::StartupMode & startup ()

(Required) The startup mode for the component instance.

Must be set.

bool has_startup ()
::fidl::StringView & environment ()

(Optional) The environment assigned to this child.

May be unset, in which case the child 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::OnTerminate & on_terminate ()

(Optional, defaults to `NONE`) The action to take if this component

instance terminates unexpectedly.

bool has_on_terminate ()
::fidl::VectorView< ::fuchsia_component_decl::wire::ConfigOverride> & config_overrides ()

Configuration overrides to apply to the child's base configuration.

For a configuration field to be overridden it must be marked as mutable by parent.

Parents must pass `ConfigOverride` values which match the child's declared schema types

exactly.

bool has_config_overrides ()
Child & operator= (const Child & other)

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

Child & operator= (Child && other)

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

Child & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Child & set_name (std::nullptr_t )
Child & clear_name ()
Child & set_url (::fidl::ObjectView< ::fidl::StringView> elem)
Child & set_url (std::nullptr_t )
Child & clear_url ()
Child & set_startup (::fuchsia_component_decl::wire::StartupMode elem)
Child & clear_startup ()
Child & set_environment (::fidl::ObjectView< ::fidl::StringView> elem)
Child & set_environment (std::nullptr_t )
Child & clear_environment ()
Child & set_on_terminate (::fuchsia_component_decl::wire::OnTerminate elem)
Child & clear_on_terminate ()
Child & set_config_overrides (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::ConfigOverride>> elem)
Child & set_config_overrides (std::nullptr_t )
Child & clear_config_overrides ()
void Child (::fidl::AnyArena & allocator)
void Child (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Child>> && 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::Child>> && frame_ptr)
void ~Child ()

Defined at line 3766 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