class Representation

Defined at line 8993 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

void Representation ()
bool is_directory ()

Defined at line 9044 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::DirectoryInfo & directory ()

The [`File`] protocol was negotiated for this connection.

Defined at line 9047 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::fuchsia::io::DirectoryInfo & directory ()

The [`File`] protocol was negotiated for this connection.

Defined at line 9053 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_file ()

Defined at line 9059 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::FileInfo & file ()

The [`File`] protocol was negotiated for this connection.

Defined at line 9062 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::fuchsia::io::FileInfo & file ()

The [`File`] protocol was negotiated for this connection.

Defined at line 9068 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_symlink ()

Defined at line 9074 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 9107 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void ~Representation ()
void Representation (Representation && )
Representation & operator= (Representation && )
Representation WithNode (::fuchsia::io::NodeInfo && )
Representation WithDirectory (::fuchsia::io::DirectoryInfo && )
Representation WithFile (::fuchsia::io::FileInfo && )
Representation WithSymlink (::fuchsia::io::SymlinkInfo && )
::std::unique_ptr<Representation> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Representation * value, size_t offset)
zx_status_t Clone (Representation * result)
bool has_invalid_tag ()

Defined at line 9025 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_node ()

Defined at line 9029 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::NodeInfo & node ()

The [`Node`] protocol was negotiated for this connection.

Defined at line 9032 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::fuchsia::io::NodeInfo & node ()

The [`Node`] protocol was negotiated for this connection.

Defined at line 9038 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Representation & set_node (::fuchsia::io::NodeInfo value)
Representation & set_directory (::fuchsia::io::DirectoryInfo value)
Representation & set_file (::fuchsia::io::FileInfo value)
Representation & set_symlink (::fuchsia::io::SymlinkInfo value)
Representation & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
::fuchsia::io::SymlinkInfo & symlink ()

The [`Symlink`] protocol was negotiated for this connection.

Defined at line 9077 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const ::fuchsia::io::SymlinkInfo & symlink ()

The [`Symlink`] protocol was negotiated for this connection.

Defined at line 9083 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

::fuchsia::io::Representation::Tag Which ()

Defined at line 9090 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 9110 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

const std::vector<zx::handle> * UnknownHandles ()

Defined at line 9116 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kNode 1

0x1

kDirectory 2

0x2

kFile 3

0x3

kSymlink 4

0x4

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 9008 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Friends

class Equality