class DeviceAddress

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

Public Methods

void DeviceAddress (DeviceAddress && other)
DeviceAddress & operator= (DeviceAddress && other)
void DeviceAddress (const DeviceAddress & other)
DeviceAddress & operator= (const DeviceAddress & other)
bool operator== (const DeviceAddress & other)
bool operator!= (const DeviceAddress & other)
bool IsUnknown ()
::fuchsia_driver_framework::DeviceAddress::Tag Which ()
DeviceAddress WithIntValue (uint8_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> int_value ()
::fidl::internal::UnionMemberView<1, Storage_> int_value ()
DeviceAddress & int_value (uint8_t value)

A fixed integer id, eg a spi bus address

DeviceAddress WithArrayIntValue (::std::vector<uint8_t> val)
const ::fidl::internal::UnionMemberView<2, Storage_> array_int_value ()
::fidl::internal::UnionMemberView<2, Storage_> array_int_value ()
DeviceAddress & array_int_value (::std::vector<uint8_t> value)

An array of integers, eg a PCI BDF.

DeviceAddress WithCharIntValue (::std::string val)
const ::fidl::internal::UnionMemberView<3, Storage_> char_int_value ()
::fidl::internal::UnionMemberView<3, Storage_> char_int_value ()
DeviceAddress & char_int_value (::std::string value)

A uint32 value that can be interpretted as a 4 character sequence.

DeviceAddress WithArrayCharIntValue (::std::vector< ::std::string> val)
const ::fidl::internal::UnionMemberView<4, Storage_> array_char_int_value ()
::fidl::internal::UnionMemberView<4, Storage_> array_char_int_value ()
DeviceAddress & array_char_int_value (::std::vector< ::std::string> value)

An array of character sequences, eg a ACPI node path.

DeviceAddress WithStringValue (::std::string val)
const ::fidl::internal::UnionMemberView<5, Storage_> string_value ()
::fidl::internal::UnionMemberView<5, Storage_> string_value ()
DeviceAddress & string_value (::std::string value)

A generic string, eg the device tree node path.

void DeviceAddress (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kIntValue 1
kArrayIntValue 2
kCharIntValue 3
kArrayCharIntValue 4
kStringValue 5
_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 2629 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits