PMDK C++ bindings  1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
radix_tree.hpp File Reference

Implementation of persistent radix tree. More...

Go to the source code of this file.

Classes

class  pmem::obj::experimental::radix_tree< Key, Value, BytesView, MtMode >
 Persistent associative, ordered container with API similar and partially compatible with the API of std::map. More...
 
struct  pmem::obj::experimental::radix_tree< Key, Value, BytesView, MtMode >::leaf
 This is the structure which 'holds' key/value pair. More...
 
struct  pmem::obj::experimental::radix_tree< Key, Value, BytesView, MtMode >::node
 This is internal node. More...
 

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::obj
 Main libpmemobj namespace.
 
 pmem::obj::experimental
 Experimental implementations.
 

Functions

template<typename Key , typename Value , typename BytesView , bool MtMode>
void pmem::obj::experimental::swap (radix_tree< Key, Value, BytesView, MtMode > &lhs, radix_tree< Key, Value, BytesView, MtMode > &rhs)
 
template<typename K , typename V , typename BV , bool MtMode>
std::ostream & pmem::obj::experimental::operator<< (std::ostream &os, const radix_tree< K, V, BV, MtMode > &tree)
 Prints tree in DOT format. More...
 

Detailed Description

Implementation of persistent radix tree.

Based on: https://github.com/pmem/vmemcache/blob/master/src/critnib.h More info about radix tree data structure: https://en.wikipedia.org/wiki/Radix_tree