class CodecId
Defined at line 1578 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 1606 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h
bool is_assigned_format ()
Defined at line 1610 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 1613 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 1619 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h
bool is_vendor_format ()
Defined at line 1625 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 1628 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 1634 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h
::fuchsia::bluetooth::CodecId::Tag Which ()
Defined at line 1641 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 1654 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 1657 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 1591 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h
Friends
class Equality