template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 617 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_types.h
Public Methods
::fuchsia_tee::wire::Buffer Build ()
Build and return the table. The builder should not be used after this.
bool has_direction ()
void clear_direction ()
Clears the direction field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_tee::wire::Direction & direction ()
Getter for direction.
BuilderImpl & direction (::fuchsia_tee::wire::Direction elem)
Setter for direction.
bool has_vmo ()
void clear_vmo ()
Clears the vmo field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & vmo ()
The VMO is allowed to be not present for situations where the TEE allows for buffer size
checks.
For example, if the operation to be performed needs an output buffer, but the user cannot
calculate how large that output buffer should be, they can attempt the operation without
a vmo and the Trusted Application will populate the size field so that the operation can
be performed again with an appropriately sized buffer.
BuilderImpl & vmo (::zx::vmo elem)
The VMO is allowed to be not present for situations where the TEE allows for buffer size
checks.
For example, if the operation to be performed needs an output buffer, but the user cannot
calculate how large that output buffer should be, they can attempt the operation without
a vmo and the Trusted Application will populate the size field so that the operation can
be performed again with an appropriately sized buffer.
bool has_offset ()
void clear_offset ()
Clears the offset field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & offset ()
Getter for offset.
BuilderImpl & offset (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Setter for offset.
bool has_size ()
void clear_size ()
Clears the size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & size ()
Getter for size.
BuilderImpl & size (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Setter for size.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_tee::wire::Buffer, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tee::wire::Buffer>> && frame)