class ChildOptions

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

Properties that may be set on a child when it is added to a realm.

Public Methods

void ChildOptions ()

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

void ChildOptions (const ChildOptions & other)

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

void ChildOptions (ChildOptions && other)

Defined at line 3892 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/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_test::wire::ChildOptions> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component_test::wire::ChildOptions> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::ChildOptions>> frame)

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

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

For information on this type, see

https://fuchsia.dev/go/components/declaration#StartupMode.

Defaults to `LAZY`.

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

Specify a custom environment for the child to run under.

bool has_environment ()
::fuchsia_component_decl::wire::OnTerminate & on_terminate ()

For information on this type, see

https://fuchsia.dev/go/components/declaration#OnTerminate.

Defaults to `NONE`.

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

Structured Configuration overrides to be applied to the child.

Only keys declared by the child component as overridable by parent may

be provided. For information on overrides, see

[fuchsia.component.decl/ConfigOverride].

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

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

ChildOptions & operator= (ChildOptions && other)

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

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

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder