rippled
Loading...
Searching...
No Matches
include
xrpl
shamap
TreeNodeCache.h
1
#pragma once
2
3
#include <xrpl/basics/IntrusivePointer.h>
4
#include <xrpl/basics/TaggedCache.h>
5
#include <xrpl/shamap/SHAMapTreeNode.h>
6
7
namespace
xrpl
{
8
9
using
TreeNodeCache
=
TaggedCache
<
10
uint256
,
11
SHAMapTreeNode
,
12
/*IsKeyCache*/
false
,
13
intr_ptr::SharedWeakUnionPtr<SHAMapTreeNode>
,
14
intr_ptr::SharedPtr<SHAMapTreeNode>
>;
15
}
// namespace xrpl
xrpl::SHAMapTreeNode
Definition
SHAMapTreeNode.h:31
xrpl::SharedIntrusive
A shared intrusive pointer class that supports weak pointers.
Definition
IntrusivePointer.h:68
xrpl::SharedWeakUnion
A combination of a strong and a weak intrusive pointer stored in the space of a single pointer.
Definition
IntrusivePointer.h:298
xrpl::TaggedCache
Map/cache combination.
Definition
TaggedCache.h:42
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::uint256
base_uint< 256 > uint256
Definition
base_uint.h:526
Generated by
1.9.8