Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
RadixTree< T >::RadixNode Struct Reference

Public Member Functions

 IMPLEMENT_RCU_REFCOUNT (uint64_t)
 
 RadixNode (uint32_t level, const K &key, RadixElement e)
 
 ~RadixNode ()
 
 RadixNode (const RadixNode &)=delete
 
RadixNodeoperator= (const RadixNode &)=delete
 
std::atomic< RadixElement > * get (uint32_t level, const K &key)
 

Private Attributes

union {
   std::array< std::atomic< RadixElement >, CHILD_PER_LEVEL >   children
 
   std::array< RadixElement, CHILD_PER_LEVEL >   non_atomic_children_DO_NOT_USE
 
}; 
 

Detailed Description

template<typename T>
struct RadixTree< T >::RadixNode

Definition at line 249 of file radix.h.

Constructor & Destructor Documentation

◆ RadixNode() [1/2]

template<typename T >
RadixTree< T >::RadixNode::RadixNode ( uint32_t  level,
const K key,
RadixElement  e 
)
inline

Definition at line 260 of file radix.h.

Here is the call graph for this function:

◆ ~RadixNode()

template<typename T >
RadixTree< T >::RadixNode::~RadixNode ( )
inline

Definition at line 265 of file radix.h.

◆ RadixNode() [2/2]

template<typename T >
RadixTree< T >::RadixNode::RadixNode ( const RadixNode )
delete

Member Function Documentation

◆ get()

template<typename T >
std::atomic<RadixElement>* RadixTree< T >::RadixNode::get ( uint32_t  level,
const K key 
)
inline

Definition at line 274 of file radix.h.

Here is the caller graph for this function:

◆ IMPLEMENT_RCU_REFCOUNT()

template<typename T >
RadixTree< T >::RadixNode::IMPLEMENT_RCU_REFCOUNT ( uint64_t  )

◆ operator=()

template<typename T >
RadixNode& RadixTree< T >::RadixNode::operator= ( const RadixNode )
delete

Member Data Documentation

◆ @11

union { ... }

◆ children

template<typename T >
std::array<std::atomic<RadixElement>, CHILD_PER_LEVEL> RadixTree< T >::RadixNode::children

Definition at line 254 of file radix.h.

◆ non_atomic_children_DO_NOT_USE

template<typename T >
std::array<RadixElement, CHILD_PER_LEVEL> RadixTree< T >::RadixNode::non_atomic_children_DO_NOT_USE

Definition at line 256 of file radix.h.


The documentation for this struct was generated from the following file: