class Representation

Defined at line 8693 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 ()
void Representation (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)
Representation & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()

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

bool is_node ()

Defined at line 8729 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 8732 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 8738 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_directory ()

Defined at line 8744 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 8747 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 8753 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_file ()

Defined at line 8759 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 8762 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 8768 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool is_symlink ()

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

Representation & operator= (Representation && )
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)
::fuchsia::io::SymlinkInfo & symlink ()

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

Defined at line 8777 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 8783 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

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

Defined at line 8790 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 8807 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 8810 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 8816 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void ~Representation ()

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 8708 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

Friends

class Equality