class FormattedContent
Defined at line 238 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h
A fidl union containing a complete hierarchy of structured diagnostics
data, such that the content can be parsed into a file by itself.
Public Methods
void FormattedContent (FormattedContent && other)
FormattedContent & operator= (FormattedContent && other)
bool IsUnknown ()
::fuchsia_diagnostics::FormattedContent::Tag Which ()
FormattedContent WithJson (::fuchsia_mem::Buffer val)
const ::fidl::internal::UnionMemberView<1, Storage_> json ()
::fidl::internal::UnionMemberView<1, Storage_> json ()
FormattedContent & json (::fuchsia_mem::Buffer value)
A diagnostics schema encoded as json.
The VMO will contain up to 1mb of diagnostics data.
FormattedContent WithCbor (::zx::vmo val)
const ::fidl::internal::UnionMemberView<2, Storage_> cbor ()
::fidl::internal::UnionMemberView<2, Storage_> cbor ()
FormattedContent & cbor (::zx::vmo value)
A diagnostics schema encoded as cbor.
The VMO will contain up to 1mb of diagnostics data.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
FormattedContent WithFxt (::zx::vmo val)
const ::fidl::internal::UnionMemberView<3, Storage_> fxt ()
::fidl::internal::UnionMemberView<3, Storage_> fxt ()
FormattedContent & fxt (::zx::vmo value)
A diagnostics schema encoded as FXT.
This is only valid for logs data.
The VMO will contain up to PerformanceConfiguration/max_aggregate_content_size_bytes
of diagnostics data, or 1mb if not specified.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
void FormattedContent (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kJson | 1 |
| kCbor | 3 |
| kFxt | 4 |
| _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 249 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits