class Representation
Defined at line 7474 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h
Public Methods
void Representation (Representation && other)
Representation & operator= (Representation && other)
bool IsUnknown ()
::fuchsia_io::Representation::Tag Which ()
Representation WithNode (::fuchsia_io::NodeInfo val)
const ::fidl::internal::UnionMemberView<1, Storage_> node ()
::fidl::internal::UnionMemberView<1, Storage_> node ()
Representation & node (::fuchsia_io::NodeInfo value)
The [`Node`] protocol was negotiated for this connection.
Representation WithDirectory (::fuchsia_io::DirectoryInfo val)
const ::fidl::internal::UnionMemberView<2, Storage_> directory ()
::fidl::internal::UnionMemberView<2, Storage_> directory ()
Representation & directory (::fuchsia_io::DirectoryInfo value)
The [`File`] protocol was negotiated for this connection.
Representation WithFile (::fuchsia_io::FileInfo val)
const ::fidl::internal::UnionMemberView<3, Storage_> file ()
::fidl::internal::UnionMemberView<3, Storage_> file ()
Representation & file (::fuchsia_io::FileInfo value)
The [`File`] protocol was negotiated for this connection.
Representation WithSymlink (::fuchsia_io::SymlinkInfo val)
const ::fidl::internal::UnionMemberView<4, Storage_> symlink ()
::fidl::internal::UnionMemberView<4, Storage_> symlink ()
Representation & symlink (::fuchsia_io::SymlinkInfo value)
The [`Symlink`] protocol was negotiated for this connection.
void Representation (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kNode | 1 |
0x1 |
| kDirectory | 2 |
0x2 |
| kFile | 3 |
0x3 |
| kSymlink | 4 |
0x4 |
| _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 7486 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits