class Expose

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

Declares a capability exposed to either a component's containing realm or to

the framework. For example, a legacy service exposed by the component at

runtime.

Public Methods

void Expose (Expose && other)
Expose & operator= (Expose && other)
void Expose (const Expose & other)
Expose & operator= (const Expose & other)
bool operator== (const Expose & other)
bool operator!= (const Expose & other)
bool IsUnknown ()
::fuchsia_component_decl::Expose::Tag Which ()
Expose WithService (::fuchsia_component_decl::ExposeService val)
const ::fidl::internal::UnionMemberView<1, Storage_> service ()
::fidl::internal::UnionMemberView<1, Storage_> service ()
Expose & service (::fuchsia_component_decl::ExposeService value)

Sets the union to hold the service member.

Expose WithProtocol (::fuchsia_component_decl::ExposeProtocol val)
const ::fidl::internal::UnionMemberView<2, Storage_> protocol ()
::fidl::internal::UnionMemberView<2, Storage_> protocol ()
Expose & protocol (::fuchsia_component_decl::ExposeProtocol value)

Sets the union to hold the protocol member.

Expose WithDirectory (::fuchsia_component_decl::ExposeDirectory val)
const ::fidl::internal::UnionMemberView<3, Storage_> directory ()
::fidl::internal::UnionMemberView<3, Storage_> directory ()
Expose & directory (::fuchsia_component_decl::ExposeDirectory value)

Sets the union to hold the directory member.

Expose WithRunner (::fuchsia_component_decl::ExposeRunner val)
const ::fidl::internal::UnionMemberView<4, Storage_> runner ()
::fidl::internal::UnionMemberView<4, Storage_> runner ()
Expose & runner (::fuchsia_component_decl::ExposeRunner value)

Sets the union to hold the runner member.

Expose WithResolver (::fuchsia_component_decl::ExposeResolver val)
const ::fidl::internal::UnionMemberView<5, Storage_> resolver ()
::fidl::internal::UnionMemberView<5, Storage_> resolver ()
Expose & resolver (::fuchsia_component_decl::ExposeResolver value)

Sets the union to hold the resolver member.

Expose WithDictionary (::fuchsia_component_decl::ExposeDictionary val)
const ::fidl::internal::UnionMemberView<6, Storage_> dictionary ()
::fidl::internal::UnionMemberView<6, Storage_> dictionary ()
Expose & dictionary (::fuchsia_component_decl::ExposeDictionary value)

Sets the union to hold the dictionary member.

Expose WithConfig (::fuchsia_component_decl::ExposeConfiguration val)
const ::fidl::internal::UnionMemberView<7, Storage_> config ()
::fidl::internal::UnionMemberView<7, Storage_> config ()
Expose & config (::fuchsia_component_decl::ExposeConfiguration value)

Sets the union to hold the config member.

void Expose (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kService 1
kProtocol 2
kDirectory 3
kRunner 4
kResolver 5
kDictionary 7
kConfig 8
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits