![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include <TrieCommon.h>
Public Member Functions | |
| NibbleSlice (bytesConstRef _data=bytesConstRef(), unsigned _offset=0) | |
| byte | operator[] (unsigned _index) const |
| unsigned | size () const |
| bool | empty () const |
| NibbleSlice | mid (unsigned _index) const |
| void | clear () |
| bool | contains (NibbleSlice _k) const |
| unsigned | shared (NibbleSlice _k) const |
| bool | isEarlierThan (NibbleSlice _k) const |
| Determine if we, a full key, are situated prior to a particular key-prefix. More... | |
| bool | operator== (NibbleSlice _k) const |
| bool | operator!= (NibbleSlice _s) const |
Public Attributes | |
| bytesConstRef | data |
| unsigned | offset |
Nibble-based view on a bytesConstRef.
Definition at line 53 of file TrieCommon.h.
|
inline |
Definition at line 58 of file TrieCommon.h.
|
inline |
Definition at line 63 of file TrieCommon.h.
|
inline |
Definition at line 66 of file TrieCommon.h.
|
inline |
Definition at line 61 of file TrieCommon.h.
|
inline |
Determine if we, a full key, are situated prior to a particular key-prefix.
| _k | The prefix. |
Definition at line 74 of file TrieCommon.h.
|
inline |
Definition at line 62 of file TrieCommon.h.
|
inline |
Definition at line 87 of file TrieCommon.h.
|
inline |
Definition at line 86 of file TrieCommon.h.
|
inline |
Definition at line 59 of file TrieCommon.h.
|
inline |
Definition at line 68 of file TrieCommon.h.
|
inline |
Definition at line 60 of file TrieCommon.h.
| bytesConstRef dev::NibbleSlice::data |
Definition at line 55 of file TrieCommon.h.
| unsigned dev::NibbleSlice::offset |
Definition at line 56 of file TrieCommon.h.