template <typename NodeType>

struct iterator_base

Defined at line 113 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

Base iterator type that is just a convenience wrapper around a node,index pair.

Public Members

NodeType * node_
uint32_t index_

Public Methods

void iterator_base<NodeType> (NoInitTag )

Allow for explicitly constructing without initializing the fields.

Defined at line 116 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

void iterator_base<NodeType> ()

Defined at line 117 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

void iterator_base<NodeType> (NodeType * node, uint32_t index)

Defined at line 118 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

template <typename T>
void iterator_base<NodeType> (iterator_base<T> && other)

Defined at line 120 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

template <typename T>
void iterator_base<NodeType> (const iterator_base<T> & other)

Defined at line 122 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

void wrap_to_next ()

Ensures that the iterator is pointing to a valid item or the end sentinel. If the current

index is past the last item in the current node, it advances the iterator to the start of the

next node in the linked list. If no more nodes exist, it sets the index to the end sentinel.

Defined at line 128 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

bool end_sentinel ()

Defined at line 139 of file ../../zircon/kernel/lib/btree/include/lib/btree_util.h

Records