class ExposeDictionary
Defined at line 7269 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_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 ()
Defined at line 7271 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ExposeDictionary (const ExposeDictionary & other)
Defined at line 7272 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ExposeDictionary (ExposeDictionary && other)
Defined at line 7274 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::ExposeDictionary> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_decl::wire::ExposeDictionary> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ExposeDictionary>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fuchsia_component_decl::wire::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.
bool has_source ()
::fidl::StringView & source_name ()
(Required) Name identifying the dictionary, by which it was presented to
this component.
bool has_source_name ()
::fuchsia_component_decl::wire::Ref & target ()
(Required) The destination to which the dictionary is exposed: either the
component's realm or the framework.
bool has_target ()
::fidl::StringView & target_name ()
(Required) The name by which the capability is being exposed.
bool has_target_name ()
::fuchsia_component_decl::wire::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
See [`Availability`].
bool has_availability ()
::fidl::StringView & 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`.
bool has_source_dictionary ()
ExposeDictionary & set_source (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
ExposeDictionary & set_source (std::nullptr_t )
ExposeDictionary & clear_source ()
ExposeDictionary & set_source_name (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDictionary & set_source_name (std::nullptr_t )
ExposeDictionary & clear_source_name ()
ExposeDictionary & set_target (::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref> elem)
ExposeDictionary & set_target (std::nullptr_t )
ExposeDictionary & clear_target ()
ExposeDictionary & set_target_name (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDictionary & set_target_name (std::nullptr_t )
ExposeDictionary & clear_target_name ()
ExposeDictionary & set_availability (::fuchsia_component_decl::wire::Availability elem)
ExposeDictionary & clear_availability ()
ExposeDictionary & set_source_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
ExposeDictionary & set_source_dictionary (std::nullptr_t )
ExposeDictionary & clear_source_dictionary ()
void ExposeDictionary (::fidl::AnyArena & allocator)
void ExposeDictionary (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::ExposeDictionary>> && 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::ExposeDictionary>> && frame_ptr)
ExposeDictionary & operator= (const ExposeDictionary & other)
Defined at line 7273 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
ExposeDictionary & operator= (ExposeDictionary && other)
Defined at line 7275 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
void ~ExposeDictionary ()
Defined at line 7277 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