class FileInfo
Defined at line 2874 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Auxiliary data for the file representation of a node.
Public Methods
void FileInfo ()
Defined at line 2876 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
void FileInfo (const FileInfo & other)
Defined at line 2877 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_io::wire::FileInfo> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_io::wire::FileInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::FileInfo>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
bool & is_append ()
True if the file is opened in append mode.
In append mode, the seek offset is moved to the end before every
write, the two steps performed in an atomic manner.
bool has_is_append ()
::zx::event & observer ()
An optional event which transmits information about an object's
readability or writability. This event relays information about the
underlying object, not the capability granted to client: this event
may be signalled "readable" on a connection that does not have
the capability to read.
This event will be present if the following conditions are met:
- The `available_operations` on the file connection is not empty.
- The filesystem supports signalling readability/writability events.
The [`FileSignal`] values may be observed on this event.
bool has_observer ()
bool has_stream ()
::fuchsia_io::wire::NodeAttributes2 & attributes ()
Requested attributes for the file. This is only populated if requested.
bool has_attributes ()
FileInfo & operator= (const FileInfo & other)
Defined at line 2878 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
void FileInfo (FileInfo && other)
Defined at line 2879 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
FileInfo & operator= (FileInfo && other)
Defined at line 2880 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
::zx::stream & stream ()
An optional stream object, which can be used to read to and write from
the file more quickly than with fidl.
The channel for the file *must* be held open while the stream is in use.
Using a stream object that has outlived the channel it came from may
result in failures or unexpected results.
FileInfo & set_is_append (bool elem)
FileInfo & clear_is_append ()
FileInfo & set_observer (::zx::event elem)
FileInfo & clear_observer ()
FileInfo & set_stream (::zx::stream elem)
FileInfo & clear_stream ()
FileInfo & set_attributes (::fidl::ObjectView< ::fuchsia_io::wire::NodeAttributes2> elem)
FileInfo & set_attributes (std::nullptr_t )
FileInfo & clear_attributes ()
void FileInfo (::fidl::AnyArena & allocator)
void FileInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::FileInfo>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::FileInfo>> && frame_ptr)
void ~FileInfo ()
Defined at line 2882 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder