class AllocatedNodeIterator

Defined at line 17 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.h

Allows traversing a linked list of nodes for a single blob that has already been written to disk.

Public Methods

void AllocatedNodeIterator (NodeFinder * finder, uint32_t node_index, Inode * inode)

Defined at line 18 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.cc

AllocatedNodeIterator & operator= (const AllocatedNodeIterator & )

Defined at line 19 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.h

void AllocatedNodeIterator (const AllocatedNodeIterator & )

Defined at line 20 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.h

void AllocatedNodeIterator (AllocatedNodeIterator && )

Defined at line 21 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.h

AllocatedNodeIterator & operator= (AllocatedNodeIterator && )

Defined at line 22 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.h

bool Done ()

Returns true when there are no more nodes to traverse.

Defined at line 23 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.cc

zx::result<ExtentContainer *> Next ()

Returns a pointer to the next extent container on success, or a status on

error.

Defined at line 27 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.cc

uint32_t current_node_index ()

Defined at line 40 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.h

uint32_t ExtentIndex ()

Returns the number of extents we've iterated past already.

Defined at line 54 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.cc

uint32_t NextNodeIndex ()

Returns the next node to be returned on the upcoming call to |Next|.

It is unsafe to call this method if |Done()| is true.

Defined at line 56 of file ../../src/storage/blobfs/iterator/allocated_node_iterator.cc