class BufferFormat

Defined at line 3870 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

Describes how the contents of buffers are represented.

Buffers of each type are described by their own tables.

This type is deprecated for new code, but is still used by some camera code.

Public Methods

void BufferFormat (Storage_ storage)
void BufferFormat (uint32_t tag, ::fuchsia_sysmem::ImageFormat image)
void BufferFormat ()

Default constructs a |BufferFormat| only if all of its members are default constructible.

Defined at line 3880 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

void BufferFormat (BufferFormat && )

Defined at line 3883 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

void BufferFormat (const BufferFormat & other)
BufferFormat & operator= (BufferFormat && )

Defined at line 3884 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h

BufferFormat & operator= (const BufferFormat & other)
bool operator== (const BufferFormat & other)
bool operator!= (const BufferFormat & other)
uint32_t tag ()

Since this struct used to be a single member union, we kept the tag

to avoid any wire format changes. The tag must be set to `0`,

no other value is correct.

uint32_t & tag ()

Since this struct used to be a single member union, we kept the tag

to avoid any wire format changes. The tag must be set to `0`,

no other value is correct.

BufferFormat & tag (uint32_t value)

Since this struct used to be a single member union, we kept the tag

to avoid any wire format changes. The tag must be set to `0`,

no other value is correct.

const ::fuchsia_sysmem::ImageFormat & image ()
::fuchsia_sysmem::ImageFormat & image ()
BufferFormat & image (::fuchsia_sysmem::ImageFormat value)

Setter for image.

void BufferFormat (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits