class SampleTable

Defined at line 274 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

Verifies that user code can build and access tables.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::test_types::wire::SampleTable> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::test_types::wire::SampleTable> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::test_types::wire::SampleTable>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::test_types::wire::SampleTable>> && frame_ptr)
void SampleTable ()

Defined at line 276 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

void SampleTable (const SampleTable & other)

Defined at line 277 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

void SampleTable (SampleTable && other)

Defined at line 279 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

uint8_t & x ()
bool has_x ()
uint8_t & y ()
bool has_y ()
::fidl::VectorView< ::test_types::wire::CopyableStruct> & vector_of_struct ()
bool has_vector_of_struct ()
bool & b ()
bool has_b ()
::fidl::StringView & s ()
bool has_s ()
SampleTable & set_x (uint8_t elem)
SampleTable & clear_x ()
SampleTable & operator= (const SampleTable & other)

Defined at line 278 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

SampleTable & set_y (uint8_t elem)
SampleTable & clear_y ()
SampleTable & set_vector_of_struct (::fidl::ObjectView< ::fidl::VectorView< ::test_types::wire::CopyableStruct>> elem)
SampleTable & set_vector_of_struct (std::nullptr_t )
SampleTable & clear_vector_of_struct ()
SampleTable & set_b (bool elem)
SampleTable & clear_b ()
SampleTable & set_s (::fidl::ObjectView< ::fidl::StringView> elem)
SampleTable & set_s (std::nullptr_t )
SampleTable & clear_s ()
void SampleTable (::fidl::AnyArena & allocator)
void SampleTable (::fidl::ObjectView< ::fidl::WireTableFrame< ::test_types::wire::SampleTable>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

SampleTable & operator= (SampleTable && other)

Defined at line 280 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

void ~SampleTable ()

Defined at line 282 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder