Class ShaMapInner
Inheritance
object
ShaMapInner
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class ShaMapInner : ShaMapNode
Constructors
|
Edit this page
View Source
ShaMapInner(bool, int, int)
Declaration
public ShaMapInner(bool isCopy, int depth, int version)
Parameters
| Type |
Name |
Description |
| bool |
isCopy |
|
| int |
depth |
|
| int |
version |
|
|
Edit this page
View Source
ShaMapInner(int)
Declaration
public ShaMapInner(int depth)
Parameters
| Type |
Name |
Description |
| int |
depth |
|
Fields
|
Edit this page
View Source
Branches
Declaration
protected ShaMapNode[] Branches
Field Value
|
Edit this page
View Source
Depth
Declaration
Field Value
Properties
|
Edit this page
View Source
IsInner
Declaration
public override bool IsInner { get; }
Property Value
Overrides
|
Edit this page
View Source
IsLeaf
Declaration
public override bool IsLeaf { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
AddItem(Hash256, IShaMapItem<object>)
Declaration
public bool AddItem(Hash256 index, IShaMapItem<object> item)
Parameters
Returns
|
Edit this page
View Source
AddLeaf(ShaMapLeaf)
Declaration
public bool AddLeaf(ShaMapLeaf leaf)
Parameters
Returns
|
Edit this page
View Source
Branch(int)
Declaration
public ShaMapNode Branch(int i)
Parameters
| Type |
Name |
Description |
| int |
i |
|
Returns
|
Edit this page
View Source
BranchCount()
Declaration
Returns
|
Edit this page
View Source
Copy(int)
Declaration
protected ShaMapInner Copy(int version)
Parameters
| Type |
Name |
Description |
| int |
version |
|
Returns
|
Edit this page
View Source
Empty()
Declaration
Returns
|
Edit this page
View Source
GetBranch(int)
Declaration
public ShaMapNode GetBranch(int i)
Parameters
| Type |
Name |
Description |
| int |
i |
|
Returns
|
Edit this page
View Source
GetBranch(Hash256)
Declaration
protected ShaMapNode GetBranch(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
GetItem(Hash256)
Declaration
public IShaMapItem<object> GetItem(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
GetLeaf(Hash256)
Declaration
public ShaMapLeaf GetLeaf(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
GetLeafForUpdating(Hash256)
Declaration
public ShaMapLeaf GetLeafForUpdating(Hash256 leaf)
Parameters
Returns
|
Edit this page
View Source
HasInner(int)
Declaration
public bool HasInner(int i)
Parameters
| Type |
Name |
Description |
| int |
i |
|
Returns
|
Edit this page
View Source
HasLeaf(int)
Declaration
public bool HasLeaf(int i)
Parameters
| Type |
Name |
Description |
| int |
i |
|
Returns
|
Edit this page
View Source
HasLeaf(Hash256)
Declaration
public bool HasLeaf(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
HasNone(int)
Declaration
public bool HasNone(int i)
Parameters
| Type |
Name |
Description |
| int |
i |
|
Returns
|
Edit this page
View Source
Hash()
Declaration
public override Hash256 Hash()
Returns
Overrides
|
Edit this page
View Source
MakeInnerChild()
Declaration
protected ShaMapInner MakeInnerChild()
Returns
|
Edit this page
View Source
MakeInnerOfSameClass(int)
Declaration
protected virtual ShaMapInner MakeInnerOfSameClass(int depth)
Parameters
| Type |
Name |
Description |
| int |
depth |
|
Returns
|
Edit this page
View Source
OnlyChildLeaf()
Declaration
public ShaMapLeaf OnlyChildLeaf()
Returns
| Type |
Description |
| ShaMapLeaf |
the only child leaf or null if other children
|
|
Edit this page
View Source
PathToIndex(Hash256)
Declaration
public PathToIndex PathToIndex(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
RemoveLeaf(Hash256)
Declaration
public bool RemoveLeaf(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
SelectBranch(Hash256)
Declaration
protected int SelectBranch(Hash256 index)
Parameters
| Type |
Name |
Description |
| Hash256 |
index |
|
Returns
|
Edit this page
View Source
SetBranch(Hash256, ShaMapNode)
Declaration
protected void SetBranch(Hash256 index, ShaMapNode node)
Parameters
|
Edit this page
View Source
SetLeaf(ShaMapLeaf)
Declaration
protected void SetLeaf(ShaMapLeaf leaf)
Parameters
|
Edit this page
View Source
ToBytesSink(IBytesSink)
Declaration
public override void ToBytesSink(IBytesSink sink)
Parameters
Overrides
|
Edit this page
View Source
UpdateItem(Hash256, IShaMapItem<object>)
Declaration
public bool UpdateItem(Hash256 index, IShaMapItem<object> item)
Parameters
Returns
|
Edit this page
View Source
UpdateLeaf(ShaMapLeaf)
Declaration
public bool UpdateLeaf(ShaMapLeaf leaf)
Parameters
Returns
|
Edit this page
View Source
WalkLeaves(OnLeaf)
Declaration
public void WalkLeaves(OnLeaf leafWalker)
Parameters
| Type |
Name |
Description |
| OnLeaf |
leafWalker |
|
|
Edit this page
View Source
WalkTree(ITreeWalker)
Declaration
public virtual void WalkTree(ITreeWalker treeWalker)
Parameters