class CodecId

Defined at line 1844 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

Specifies a coding format.

Public Members

static const fidl_type_t * FidlType

Public Methods

void CodecId ()
void ~CodecId ()
void CodecId (CodecId && )
CodecId & operator= (CodecId && )
CodecId WithAssignedFormat (::fuchsia::bluetooth::AssignedCodingFormat && )
CodecId WithVendorFormat (::fuchsia::bluetooth::VendorCodingFormat && )
::std::unique_ptr<CodecId> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CodecId * value, size_t offset)
zx_status_t Clone (CodecId * result)
bool has_invalid_tag ()

Defined at line 1872 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

bool is_assigned_format ()

Defined at line 1876 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

::fuchsia::bluetooth::AssignedCodingFormat & assigned_format ()

Coding format defined by Bluetooth SIG.

Defined at line 1879 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

const ::fuchsia::bluetooth::AssignedCodingFormat & assigned_format ()

Coding format defined by Bluetooth SIG.

Defined at line 1885 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

bool is_vendor_format ()

Defined at line 1891 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

CodecId & set_assigned_format (::fuchsia::bluetooth::AssignedCodingFormat value)
CodecId & set_vendor_format (::fuchsia::bluetooth::VendorCodingFormat value)
CodecId & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::bluetooth::VendorCodingFormat & vendor_format ()

Coding format defined by vendor.

Defined at line 1894 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

const ::fuchsia::bluetooth::VendorCodingFormat & vendor_format ()

Coding format defined by vendor.

Defined at line 1900 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

::fuchsia::bluetooth::CodecId::Tag Which ()

Defined at line 1907 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/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 1920 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

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

Defined at line 1923 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

Enumerations

enum Tag
Name Value
kUnknown 0
kAssignedFormat 1
kVendorFormat 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 1857 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

Friends

class Equality