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