class Child
Defined at line 2650 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Statically declares a child component instance.
Public Methods
void Child (Storage_ storage)
void Child ()
Defined at line 2655 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void Child (Child && )
Defined at line 2656 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
void Child (const Child & other)
Child & operator= (Child && )
Defined at line 2657 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Child & operator= (const Child & other)
bool operator== (const Child & other)
bool operator!= (const Child & other)
bool IsEmpty ()
const std::optional< ::std::string> & 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-_.].
::std::optional< ::std::string> & 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-_.].
Child & name (std::optional< ::std::string> value)
(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-_.].
const std::optional< ::std::string> & url ()
(Required) The child component's URL.
Must be non-empty and a well-formed URL.
::std::optional< ::std::string> & url ()
(Required) The child component's URL.
Must be non-empty and a well-formed URL.
Child & url (std::optional< ::std::string> value)
(Required) The child component's URL.
Must be non-empty and a well-formed URL.
const std::optional< ::fuchsia_component_decl::StartupMode> & startup ()
(Required) The startup mode for the component instance.
Must be set.
::std::optional< ::fuchsia_component_decl::StartupMode> & startup ()
(Required) The startup mode for the component instance.
Must be set.
Child & startup (std::optional< ::fuchsia_component_decl::StartupMode> value)
(Required) The startup mode for the component instance.
Must be set.
const std::optional< ::std::string> & 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-_.].
::std::optional< ::std::string> & 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-_.].
Child & environment (std::optional< ::std::string> value)
(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-_.].
const std::optional< ::fuchsia_component_decl::OnTerminate> & on_terminate ()
(Optional, defaults to `NONE`) The action to take if this component
instance terminates unexpectedly.
::std::optional< ::fuchsia_component_decl::OnTerminate> & on_terminate ()
(Optional, defaults to `NONE`) The action to take if this component
instance terminates unexpectedly.
Child & on_terminate (std::optional< ::fuchsia_component_decl::OnTerminate> value)
(Optional, defaults to `NONE`) The action to take if this component
instance terminates unexpectedly.
const std::optional< ::std::vector< ::fuchsia_component_decl::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.
::std::optional< ::std::vector< ::fuchsia_component_decl::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.
Child & config_overrides (std::optional< ::std::vector< ::fuchsia_component_decl::ConfigOverride>> value)
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.
void Child (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits