class ExposeDictionary

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

Declares a dictionary exposed to a component's containing realm, such as

a dictionary exposed by the component or one of its children at runtime.

To learn more about dictionarys, see:

https://fuchsia.dev/fuchsia-src/glossary#dictionary

Public Methods

void ExposeDictionary (Storage_ storage)
void ExposeDictionary ()

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

void ExposeDictionary (ExposeDictionary && )

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

void ExposeDictionary (const ExposeDictionary & other)
ExposeDictionary & operator= (ExposeDictionary && )

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

ExposeDictionary & operator= (const ExposeDictionary & other)
bool operator== (const ExposeDictionary & other)
bool operator!= (const ExposeDictionary & other)
bool IsEmpty ()
const std::optional< ::fuchsia_component_decl::Ref> & source ()

(Required) The provider of the capability relative to the component

itself. Must be `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

::std::optional< ::fuchsia_component_decl::Ref> & source ()

(Required) The provider of the capability relative to the component

itself. Must be `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

ExposeDictionary & source (std::optional< ::fuchsia_component_decl::Ref> value)

(Required) The provider of the capability relative to the component

itself. Must be `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

const std::optional< ::std::string> & source_name ()

(Required) Name identifying the dictionary, by which it was presented to

this component.

::std::optional< ::std::string> & source_name ()

(Required) Name identifying the dictionary, by which it was presented to

this component.

ExposeDictionary & source_name (std::optional< ::std::string> value)

(Required) Name identifying the dictionary, by which it was presented to

this component.

const std::optional< ::fuchsia_component_decl::Ref> & target ()

(Required) The destination to which the dictionary is exposed: either the

component's realm or the framework.

::std::optional< ::fuchsia_component_decl::Ref> & target ()

(Required) The destination to which the dictionary is exposed: either the

component's realm or the framework.

ExposeDictionary & target (std::optional< ::fuchsia_component_decl::Ref> value)

(Required) The destination to which the dictionary is exposed: either the

component's realm or the framework.

const std::optional< ::std::string> & target_name ()

(Required) The name by which the capability is being exposed.

::std::optional< ::std::string> & target_name ()

(Required) The name by which the capability is being exposed.

ExposeDictionary & target_name (std::optional< ::std::string> value)

(Required) The name by which the capability is being exposed.

const std::optional< ::fuchsia_component_decl::Availability> & availability ()

(Optional, defaults to `REQUIRED`) The availability of this capability.

See [`Availability`].

::std::optional< ::fuchsia_component_decl::Availability> & availability ()

(Optional, defaults to `REQUIRED`) The availability of this capability.

See [`Availability`].

ExposeDictionary & availability (std::optional< ::fuchsia_component_decl::Availability> value)

(Optional, defaults to `REQUIRED`) The availability of this capability.

See [`Availability`].

const std::optional< ::std::string> & source_dictionary ()

(Optional) Path in a dictionary offered by `ref` which contains `source_name`.

If this field is absent, `source_name` identifies a capability directly routed

by `source`. If set, `source_name` identifies a capability nested inside a

dictionary. The name of the top-level dictionary is given by the first path

segment of `source_dictionary`, and `source` is expected to route a

dictionary capability with this name. The rest of the path (possibly empty)

represents the path to a dictionary nested in the top-level dictionary which

is expected to contain `source_name`.

::std::optional< ::std::string> & source_dictionary ()

(Optional) Path in a dictionary offered by `ref` which contains `source_name`.

If this field is absent, `source_name` identifies a capability directly routed

by `source`. If set, `source_name` identifies a capability nested inside a

dictionary. The name of the top-level dictionary is given by the first path

segment of `source_dictionary`, and `source` is expected to route a

dictionary capability with this name. The rest of the path (possibly empty)

represents the path to a dictionary nested in the top-level dictionary which

is expected to contain `source_name`.

ExposeDictionary & source_dictionary (std::optional< ::std::string> value)

(Optional) Path in a dictionary offered by `ref` which contains `source_name`.

If this field is absent, `source_name` identifies a capability directly routed

by `source`. If set, `source_name` identifies a capability nested inside a

dictionary. The name of the top-level dictionary is given by the first path

segment of `source_dictionary`, and `source` is expected to route a

dictionary capability with this name. The rest of the path (possibly empty)

represents the path to a dictionary nested in the top-level dictionary which

is expected to contain `source_name`.

void ExposeDictionary (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits