class DirectoryEntry

Defined at line 530 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/cpp/natural_types.h

Public Methods

void DirectoryEntry (DirectoryEntry && other)
DirectoryEntry & operator= (DirectoryEntry && other)
::fuchsia_io_test::DirectoryEntry::Tag Which ()
DirectoryEntry WithDirectory (::fuchsia_io_test::Directory val)
const ::fidl::internal::UnionMemberView<1, Storage_> directory ()
::fidl::internal::UnionMemberView<1, Storage_> directory ()
DirectoryEntry & directory (::fuchsia_io_test::Directory value)

Sets the union to hold the directory member.

DirectoryEntry WithRemoteDirectory (::fuchsia_io_test::RemoteDirectory val)
const ::fidl::internal::UnionMemberView<2, Storage_> remote_directory ()
::fidl::internal::UnionMemberView<2, Storage_> remote_directory ()
DirectoryEntry & remote_directory (::fuchsia_io_test::RemoteDirectory value)

Sets the union to hold the remote_directory member.

DirectoryEntry WithFile (::fuchsia_io_test::File val)
const ::fidl::internal::UnionMemberView<3, Storage_> file ()
::fidl::internal::UnionMemberView<3, Storage_> file ()
DirectoryEntry & file (::fuchsia_io_test::File value)

Sets the union to hold the file member.

DirectoryEntry WithExecutableFile (::fuchsia_io_test::ExecutableFile val)
const ::fidl::internal::UnionMemberView<4, Storage_> executable_file ()
::fidl::internal::UnionMemberView<4, Storage_> executable_file ()
DirectoryEntry & executable_file (::fuchsia_io_test::ExecutableFile value)

Sets the union to hold the executable_file member.

void DirectoryEntry (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kDirectory 1
kRemoteDirectory 2
kFile 3
kExecutableFile 5

TODO: share union tag types between wire

&

natural.

Defined at line 538 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits