class Capability

Defined at line 3256 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

void Capability ()
void Capability (Capability && )
::std::unique_ptr<Capability> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Capability * value, size_t offset)
zx_status_t Clone (Capability * result)
Capability & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()

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

bool is_protocol ()

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

::fuchsia::component::test::Protocol & protocol ()

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

const ::fuchsia::component::test::Protocol & protocol ()

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

bool is_directory ()

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

::fuchsia::component::test::Directory & directory ()

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

const ::fuchsia::component::test::Directory & directory ()

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

bool is_storage ()

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

::fuchsia::component::test::Storage & storage ()

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

const ::fuchsia::component::test::Storage & storage ()

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

bool is_service ()

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

::fuchsia::component::test::Service & service ()

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

const ::fuchsia::component::test::Service & service ()

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

bool is_event_stream ()

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

::fuchsia::component::test::EventStream & event_stream ()

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

const ::fuchsia::component::test::EventStream & event_stream ()

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

bool is_config ()

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

::fuchsia::component::test::Config & config ()

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

const ::fuchsia::component::test::Config & config ()

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

bool is_dictionary ()

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

::fuchsia::component::test::Dictionary & dictionary ()

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

const ::fuchsia::component::test::Dictionary & dictionary ()

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

bool is_resolver ()

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

::fuchsia::component::test::Resolver & resolver ()

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

const ::fuchsia::component::test::Resolver & resolver ()

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

bool is_runner ()

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

::fuchsia::component::test::Runner & runner ()

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

const ::fuchsia::component::test::Runner & runner ()

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

::fuchsia::component::test::Capability::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

const std::vector<uint8_t> * UnknownBytes ()

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

void ~Capability ()
Capability & operator= (Capability && )
Capability WithProtocol (::fuchsia::component::test::Protocol && )
Capability WithDirectory (::fuchsia::component::test::Directory && )
Capability WithStorage (::fuchsia::component::test::Storage && )
Capability WithService (::fuchsia::component::test::Service && )
Capability WithEventStream (::fuchsia::component::test::EventStream && )
Capability WithConfig (::fuchsia::component::test::Config && )
Capability WithDictionary (::fuchsia::component::test::Dictionary && )
Capability WithResolver (::fuchsia::component::test::Resolver && )
Capability WithRunner (::fuchsia::component::test::Runner && )
Capability & set_protocol (::fuchsia::component::test::Protocol value)
Capability & set_directory (::fuchsia::component::test::Directory value)
Capability & set_storage (::fuchsia::component::test::Storage value)
Capability & set_service (::fuchsia::component::test::Service value)
Capability & set_event_stream (::fuchsia::component::test::EventStream value)
Capability & set_config (::fuchsia::component::test::Config value)
Capability & set_dictionary (::fuchsia::component::test::Dictionary value)
Capability & set_resolver (::fuchsia::component::test::Resolver value)
Capability & set_runner (::fuchsia::component::test::Runner value)

Enumerations

enum Tag
Name Value
kUnknown 0
kProtocol 1
kDirectory 2
kStorage 3
kService 4
kEventStream 6
kConfig 7
kDictionary 8
kResolver 9
kRunner 10
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality