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