class Offer

Defined at line 1527 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h

Public Methods

void Offer (Offer && other)
Offer & operator= (Offer && other)
void Offer (const Offer & other)
Offer & operator= (const Offer & other)
bool operator== (const Offer & other)
bool operator!= (const Offer & other)
bool IsUnknown ()
::fuchsia_driver_framework::Offer::Tag Which ()
Offer WithZirconTransport (::fuchsia_component_decl::Offer val)
const ::fidl::internal::UnionMemberView<1, Storage_> zircon_transport ()
::fidl::internal::UnionMemberView<1, Storage_> zircon_transport ()
Offer & zircon_transport (::fuchsia_component_decl::Offer value)

Sets the union to hold the zircon_transport member.

Offer WithDriverTransport (::fuchsia_component_decl::Offer val)
const ::fidl::internal::UnionMemberView<2, Storage_> driver_transport ()
::fidl::internal::UnionMemberView<2, Storage_> driver_transport ()
Offer & driver_transport (::fuchsia_component_decl::Offer value)

Sets the union to hold the driver_transport member.

Offer WithDictionaryOffer (::fuchsia_component_decl::Offer val)
const ::fidl::internal::UnionMemberView<3, Storage_> dictionary_offer ()
::fidl::internal::UnionMemberView<3, Storage_> dictionary_offer ()
Offer & dictionary_offer (::fuchsia_component_decl::Offer value)

An offer that lives in the |offers_dictionary|. This is equivalent to a |zircon_transport|

offer for all other purposes (eg. bind property generation).

void Offer (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kZirconTransport 1
kDriverTransport 2
kDictionaryOffer 3
_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 1538 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits