class Component

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

A component declaration.

This information is typically encoded in the component manifest (.cm file)

if it has one or may be generated at runtime by a component resolver for

those that don't.

Public Methods

void Component ()

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

void Component (Component && )

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

void Component (Storage_ storage)
void Component (const Component & other)
Component & operator= (const Component & other)
bool operator== (const Component & other)
bool operator!= (const Component & other)
bool IsEmpty ()
const std::optional< ::fuchsia_component_decl::Program> & program ()

(Optional) Information about the program to run when the component is executed.

Omitted for non-executable components.

::std::optional< ::fuchsia_component_decl::Program> & program ()

(Optional) Information about the program to run when the component is executed.

Omitted for non-executable components.

Component & program (std::optional< ::fuchsia_component_decl::Program> value)

(Optional) Information about the program to run when the component is executed.

Omitted for non-executable components.

const std::optional< ::std::vector< ::fuchsia_component_decl::Use>> & uses ()

(Optional) List of capabilities used by the component. These consist of

capabilities offered to the component that are installed in its incoming

namespace.

The used capabilities must be unique and non-overlapping.

::std::optional< ::std::vector< ::fuchsia_component_decl::Use>> & uses ()

(Optional) List of capabilities used by the component. These consist of

capabilities offered to the component that are installed in its incoming

namespace.

The used capabilities must be unique and non-overlapping.

Component & uses (std::optional< ::std::vector< ::fuchsia_component_decl::Use>> value)

(Optional) List of capabilities used by the component. These consist of

capabilities offered to the component that are installed in its incoming

namespace.

The used capabilities must be unique and non-overlapping.

const std::optional< ::std::vector< ::fuchsia_component_decl::Expose>> & exposes ()

(Optional) List of capabilities exposed by the component. These consist of

capabilities that are made visible to the parent. The parent

may `offer` these capabilities to its children, but not `use` them.

The exposed capabilities must be unique and non-overlapping.

::std::optional< ::std::vector< ::fuchsia_component_decl::Expose>> & exposes ()

(Optional) List of capabilities exposed by the component. These consist of

capabilities that are made visible to the parent. The parent

may `offer` these capabilities to its children, but not `use` them.

The exposed capabilities must be unique and non-overlapping.

Component & exposes (std::optional< ::std::vector< ::fuchsia_component_decl::Expose>> value)

(Optional) List of capabilities exposed by the component. These consist of

capabilities that are made visible to the parent. The parent

may `offer` these capabilities to its children, but not `use` them.

The exposed capabilities must be unique and non-overlapping.

const std::optional< ::std::vector< ::fuchsia_component_decl::Offer>> & offers ()

(Optional) List of capabilities offered to the component's children. These consist

of capabilities that the given children may `use`, which may come from a

child, the parent, or the component's own outgoing namespace.

The offered capabilities must be unique and non-overlapping.

::std::optional< ::std::vector< ::fuchsia_component_decl::Offer>> & offers ()

(Optional) List of capabilities offered to the component's children. These consist

of capabilities that the given children may `use`, which may come from a

child, the parent, or the component's own outgoing namespace.

The offered capabilities must be unique and non-overlapping.

Component & offers (std::optional< ::std::vector< ::fuchsia_component_decl::Offer>> value)

(Optional) List of capabilities offered to the component's children. These consist

of capabilities that the given children may `use`, which may come from a

child, the parent, or the component's own outgoing namespace.

The offered capabilities must be unique and non-overlapping.

const std::optional< ::std::vector< ::fuchsia_component_decl::Capability>> & capabilities ()

(Optional) List of capabilities defined by the component.

::std::optional< ::std::vector< ::fuchsia_component_decl::Capability>> & capabilities ()

(Optional) List of capabilities defined by the component.

Component & capabilities (std::optional< ::std::vector< ::fuchsia_component_decl::Capability>> value)

(Optional) List of capabilities defined by the component.

const std::optional< ::std::vector< ::fuchsia_component_decl::Child>> & children ()

(Optional) The component's statically instantiated children. The children must have

unique names.

::std::optional< ::std::vector< ::fuchsia_component_decl::Child>> & children ()

(Optional) The component's statically instantiated children. The children must have

unique names.

Component & children (std::optional< ::std::vector< ::fuchsia_component_decl::Child>> value)

(Optional) The component's statically instantiated children. The children must have

unique names.

const std::optional< ::std::vector< ::fuchsia_component_decl::Collection>> & collections ()

(Optional) The component's collections. The collections must have unique names.

::std::optional< ::std::vector< ::fuchsia_component_decl::Collection>> & collections ()

(Optional) The component's collections. The collections must have unique names.

Component & collections (std::optional< ::std::vector< ::fuchsia_component_decl::Collection>> value)

(Optional) The component's collections. The collections must have unique names.

const std::optional< ::std::vector< ::fuchsia_component_decl::Environment>> & environments ()

(Optional) List of environments created by this component.

Environments are assigned to children and control aspects of a child component's

runtime.

::std::optional< ::std::vector< ::fuchsia_component_decl::Environment>> & environments ()

(Optional) List of environments created by this component.

Environments are assigned to children and control aspects of a child component's

runtime.

Component & environments (std::optional< ::std::vector< ::fuchsia_component_decl::Environment>> value)

(Optional) List of environments created by this component.

Environments are assigned to children and control aspects of a child component's

runtime.

const std::optional< ::fuchsia_data::Dictionary> & facets ()

(Optional) Additional metadata about the component.

::std::optional< ::fuchsia_data::Dictionary> & facets ()

(Optional) Additional metadata about the component.

Component & facets (std::optional< ::fuchsia_data::Dictionary> value)

(Optional) Additional metadata about the component.

const std::optional< ::fuchsia_component_decl::ConfigSchema> & config ()

(Optional) The schema of the component's configuration interface.

::std::optional< ::fuchsia_component_decl::ConfigSchema> & config ()

(Optional) The schema of the component's configuration interface.

Component & config (std::optional< ::fuchsia_component_decl::ConfigSchema> value)

(Optional) The schema of the component's configuration interface.

void Component (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Component & operator= (Component && )

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

Friends

class MemberVisitor
class NaturalTableCodingTraits