class CryptoFormat

Defined at line 7338 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

CryptoFormat

Crypto (encrypted or decrypted) format details.

Public Methods

void CryptoFormat (CryptoFormat && other)
CryptoFormat & operator= (CryptoFormat && other)
void CryptoFormat (const CryptoFormat & other)
CryptoFormat & operator= (const CryptoFormat & other)
bool operator== (const CryptoFormat & other)
bool operator!= (const CryptoFormat & other)
bool IsUnknown ()
::fuchsia_media::CryptoFormat::Tag Which ()
CryptoFormat WithEncrypted (::fuchsia_media::EncryptedFormat val)
const ::fidl::internal::UnionMemberView<1, Storage_> encrypted ()
::fidl::internal::UnionMemberView<1, Storage_> encrypted ()
CryptoFormat & encrypted (::fuchsia_media::EncryptedFormat value)

Sets the union to hold the encrypted member.

CryptoFormat WithDecrypted (::fuchsia_media::DecryptedFormat val)
const ::fidl::internal::UnionMemberView<2, Storage_> decrypted ()
::fidl::internal::UnionMemberView<2, Storage_> decrypted ()
CryptoFormat & decrypted (::fuchsia_media::DecryptedFormat value)

Sets the union to hold the decrypted member.

void CryptoFormat (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kEncrypted 1
kDecrypted 2
_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 7348 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits