class DeviceAddress

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

Public Members

static const fidl_type_t * FidlType

Public Methods

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

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

bool is_int_value ()

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

uint8_t & int_value ()

A fixed integer id, eg a spi bus address

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

const uint8_t & int_value ()

A fixed integer id, eg a spi bus address

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

bool is_array_int_value ()

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

::std::vector<uint8_t> & array_int_value ()

An array of integers, eg a PCI BDF.

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

const ::std::vector<uint8_t> & array_int_value ()

An array of integers, eg a PCI BDF.

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

bool is_char_int_value ()

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

::std::string & char_int_value ()

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

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

const ::std::string & char_int_value ()

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

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

bool is_array_char_int_value ()

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

::std::vector< ::std::string> & array_char_int_value ()

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

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

const ::std::vector< ::std::string> & array_char_int_value ()

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

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

bool is_string_value ()

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

DeviceAddress & operator= (DeviceAddress && )
DeviceAddress & set_int_value (uint8_t value)
DeviceAddress & set_array_int_value (::std::vector<uint8_t> value)
DeviceAddress & set_char_int_value (::std::string value)
DeviceAddress & set_array_char_int_value (::std::vector< ::std::string> value)
DeviceAddress & set_string_value (::std::string value)
::std::string & string_value ()

A generic string, eg the device tree node path.

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

const ::std::string & string_value ()

A generic string, eg the device tree node path.

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

::fuchsia::driver::framework::DeviceAddress::Tag Which ()

Defined at line 4019 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/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 4037 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

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

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

void ~DeviceAddress ()

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kIntValue 1

0x1

kArrayIntValue 2

0x2

kCharIntValue 3

0x3

kArrayCharIntValue 4

0x4

kStringValue 5

0x5

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

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

Friends

class Equality