class ConfigChecksum
Defined at line 668 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
The checksum produced for a configuration interface.
Two configuration interfaces are the same if their checksums are the same.
Public Members
static const fidl_type_t * FidlType
Public Methods
void ConfigChecksum ()
void ~ConfigChecksum ()
void ConfigChecksum (ConfigChecksum && )
ConfigChecksum & operator= (ConfigChecksum && )
ConfigChecksum WithSha256 (::std::array<uint8_t, 32> && )
::std::unique_ptr<ConfigChecksum> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ConfigChecksum * value, size_t offset)
zx_status_t Clone (ConfigChecksum * result)
bool has_invalid_tag ()
Defined at line 694 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
bool is_sha256 ()
Defined at line 698 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
ConfigChecksum & set_sha256 (::std::array<uint8_t, 32> value)
ConfigChecksum & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::std::array<uint8_t, 32> & sha256 ()
A SHA-256 hash produced over a component's config interface.
Defined at line 701 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const ::std::array<uint8_t, 32> & sha256 ()
A SHA-256 hash produced over a component's config interface.
Defined at line 707 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
::fuchsia::component::decl::ConfigChecksum::Tag Which ()
Defined at line 714 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/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 728 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 731 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kSha256 | 1 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 680 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/hlcpp/fuchsia/component/decl/cpp/fidl.h
Friends
class Equality