class Representation

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

bool is_node ()

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

bool is_directory ()

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

bool is_file ()

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

bool is_symlink ()

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

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

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

void ~Representation ()

Enumerations

enum Tag
Name Value
kUnknown 0
kNode 1
kDirectory 2
kFile 3
kSymlink 4
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality