class Capability

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

A capability that can be routed around a realm using `AddRoute`.

Will be renamed to `Capability` once the other definition under this name

earlier in this file is removed.

Public Methods

void Capability (Capability && other)
Capability & operator= (Capability && other)
void Capability (const Capability & other)
Capability & operator= (const Capability & other)
bool operator== (const Capability & other)
bool operator!= (const Capability & other)
bool IsUnknown ()
::fuchsia_component_test::Capability::Tag Which ()
Capability WithProtocol (::fuchsia_component_test::Protocol val)
const ::fidl::internal::UnionMemberView<1, Storage_> protocol ()
::fidl::internal::UnionMemberView<1, Storage_> protocol ()
Capability & protocol (::fuchsia_component_test::Protocol value)

Sets the union to hold the protocol member.

Capability WithDirectory (::fuchsia_component_test::Directory val)
const ::fidl::internal::UnionMemberView<2, Storage_> directory ()
::fidl::internal::UnionMemberView<2, Storage_> directory ()
Capability & directory (::fuchsia_component_test::Directory value)

Sets the union to hold the directory member.

Capability WithStorage (::fuchsia_component_test::Storage val)
const ::fidl::internal::UnionMemberView<3, Storage_> storage ()
::fidl::internal::UnionMemberView<3, Storage_> storage ()
Capability & storage (::fuchsia_component_test::Storage value)

Sets the union to hold the storage member.

Capability WithService (::fuchsia_component_test::Service val)
const ::fidl::internal::UnionMemberView<4, Storage_> service ()
::fidl::internal::UnionMemberView<4, Storage_> service ()
Capability & service (::fuchsia_component_test::Service value)

Sets the union to hold the service member.

Capability WithEventStream (::fuchsia_component_test::EventStream val)
const ::fidl::internal::UnionMemberView<5, Storage_> event_stream ()
::fidl::internal::UnionMemberView<5, Storage_> event_stream ()
Capability & event_stream (::fuchsia_component_test::EventStream value)

Sets the union to hold the event_stream member.

Capability WithConfig (::fuchsia_component_test::Config val)
const ::fidl::internal::UnionMemberView<6, Storage_> config ()
::fidl::internal::UnionMemberView<6, Storage_> config ()
Capability & config (::fuchsia_component_test::Config value)

Sets the union to hold the config member.

Capability WithDictionary (::fuchsia_component_test::Dictionary val)
const ::fidl::internal::UnionMemberView<7, Storage_> dictionary ()
::fidl::internal::UnionMemberView<7, Storage_> dictionary ()
Capability & dictionary (::fuchsia_component_test::Dictionary value)

Sets the union to hold the dictionary member.

Capability WithResolver (::fuchsia_component_test::Resolver val)
const ::fidl::internal::UnionMemberView<8, Storage_> resolver ()
::fidl::internal::UnionMemberView<8, Storage_> resolver ()
Capability & resolver (::fuchsia_component_test::Resolver value)

Sets the union to hold the resolver member.

Capability WithRunner (::fuchsia_component_test::Runner val)
const ::fidl::internal::UnionMemberView<9, Storage_> runner ()
::fidl::internal::UnionMemberView<9, Storage_> runner ()
Capability & runner (::fuchsia_component_test::Runner value)

Sets the union to hold the runner member.

void Capability (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kProtocol 1
kDirectory 2
kStorage 3
kService 4
kEventStream 6
kConfig 7
kDictionary 8
kResolver 9
kRunner 10
_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 2033 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits