[][src]Module merklebtree::iterator

Structs

btree_iterator

Enums

position

Functions

begin

Begin resets the iterator to its initial state (one-before-first) Call Next() to fetch the first element if any.

between
contents
end

End moves the iterator past the last element (one-past-the-end). Call Prev() to fetch the last element if any.

first

First moves the iterator to the first element and returns true if there was a first element in the container. If First() returns true, then first element's key and value can be retrieved by Key() and Value(). Modifies the state of the iterator

get_content_in_node
item
last

Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's key and value can be retrieved by Key() and Value(). Modifies the state of the iterator.

new_btree_iterator
next

Next moves the iterator to the next element and returns true if there was a next element in the container. If Next() returns true, then next element's key and value can be retrieved by Key() and Value(). If Next() was called for the first time, then it will point the iterator to the first element if it exists. Modifies the state of the iterator.

prev

Prev moves the iterator to the previous element and returns true if there was a previous element in the container. If Prev() returns true, then previous element's key and value can be retrieved by Key() and Value(). Modifies the state of the iterator.