class FormatCosts
Defined at line 8150 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/natural_types.h
This is the root of the persistent fidl in a format costs file. The format
costs files are read by the assembly tool and merged into the single
sysmem_config.persistent_fidl file in the sysmem domain config (see Config
above).
Normally json[5] would be preferable for config, but we generate this config
in rust using FIDL types (to avoid repetition and to take advantage of FIDL
rust codegen), and there's no json schema for FIDL types.
While the resulting sysmem_config.persistent_fidl is a single file that can
contain multiple aspects of sysmem config, in contrast a format costs file
contains only format costs. We don't mind having more separate files during
the build, but it's nice to get sysmem's domain config down to a single file
on-device.
Public Methods
void FormatCosts (Storage_ storage)
void FormatCosts ()
Defined at line 8155 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/natural_types.h
void FormatCosts (FormatCosts && )
Defined at line 8156 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/natural_types.h
void FormatCosts (const FormatCosts & other)
FormatCosts & operator= (FormatCosts && )
Defined at line 8157 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/natural_types.h
FormatCosts & operator= (const FormatCosts & other)
bool operator== (const FormatCosts & other)
bool operator!= (const FormatCosts & other)
bool IsEmpty ()
const std::optional< ::std::vector< ::fuchsia_sysmem2::FormatCostEntry>> & format_costs ()
This is a chunk of entries that'll end up in
['fuchsia.sysmem2.Config.format_costs'] (see above) unless overriden by
later entries (either in this same vector or in later-processed files
during aggregation by the assembly tool).
::std::optional< ::std::vector< ::fuchsia_sysmem2::FormatCostEntry>> & format_costs ()
This is a chunk of entries that'll end up in
['fuchsia.sysmem2.Config.format_costs'] (see above) unless overriden by
later entries (either in this same vector or in later-processed files
during aggregation by the assembly tool).
FormatCosts & format_costs (std::optional< ::std::vector< ::fuchsia_sysmem2::FormatCostEntry>> value)
This is a chunk of entries that'll end up in
['fuchsia.sysmem2.Config.format_costs'] (see above) unless overriden by
later entries (either in this same vector or in later-processed files
during aggregation by the assembly tool).
void FormatCosts (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits