class Representation
Defined at line 8858 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 8909 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 8912 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 8918 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_file ()
Defined at line 8924 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 8927 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 8933 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_symlink ()
Defined at line 8939 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 8972 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_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,Representation *value,size_toffset)
zx_status_t Clone (Representation * result)
bool has_invalid_tag ()
Defined at line 8890 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_node ()
Defined at line 8894 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 8897 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 8903 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_tordinal,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 8942 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 8948 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::Representation::Tag Which ()
Defined at line 8955 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 8975 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 8981 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 8873 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Friends
class Equality