class Representation
Defined at line 8722 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 8773 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 8776 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 8782 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_file ()
Defined at line 8788 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 8791 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 8797 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_symlink ()
Defined at line 8803 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 8836 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 8754 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_node ()
Defined at line 8758 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 8761 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 8767 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 8806 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 8812 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::Representation::Tag Which ()
Defined at line 8819 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 8839 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 8845 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 8737 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Friends
class Equality