class NodeAttributeBuilder
Defined at line 149 of file ../../src/storage/lib/vfs/cpp/connection/connection.h
Encapsulates the state of a node's wire attributes on the stack. Used by connections for sending
an OnRepresentation event or responding to a fuchsia.io/Node.GetAttributes call.
Public Methods
zx::result<NodeAttributes2 *> Build (fuchsia_io::NodeAttributesQuery query)
Build and return a wire object that uses this object as storage. This object **must** outlive
the returned wire table.
Defined at line 106 of file ../../src/storage/lib/vfs/cpp/connection/connection.cc
void NodeAttributeBuilder (const fbl::RefPtr<Vnode> & vnode)
Create a new builder using the attributes from |vnode|. |query| represents the set of
attributes that the builder will return in the final wire table. Any attributes that |vnode|
doesn't support will be omitted from the result.
|vnode| **must** outlive this object.
Defined at line 160 of file ../../src/storage/lib/vfs/cpp/connection/connection.h