PMEMKV
1.0.3-git1.g023abb3
This is the C++ documentation for PMEMKV.
|
Main C++ pmemkv public header. More...
#include <functional>
#include <stdexcept>
#include <string>
#include <utility>
#include "libpmemkv.h"
Go to the source code of this file.
Classes | |
class | pmem::kv::string_view |
Our brief std::string_view implementation. More... | |
class | pmem::kv::config |
Holds configuration parameters for engines. More... | |
class | pmem::kv::db |
Main pmemkv class, it provides functions to operate on data in database. More... | |
Namespaces | |
pmem | |
Persistent memory namespace. | |
pmem::kv | |
Main pmemkv namespace. | |
Typedefs | |
typedef int | pmem::kv::get_kv_function(string_view key, string_view value) |
The C++ idiomatic function type to use for callback using key-value pair. More... | |
typedef void | pmem::kv::get_v_function(string_view value) |
The C++ idiomatic function type to use for callback using only the value. More... | |
using | pmem::kv::get_kv_callback = pmemkv_get_kv_callback |
Key-value pair callback, C-style. More... | |
using | pmem::kv::get_v_callback = pmemkv_get_v_callback |
Value-only callback, C-style. More... | |
Enumerations | |
enum | pmem::kv::status { pmem::kv::status::OK = PMEMKV_STATUS_OK, pmem::kv::status::UNKNOWN_ERROR = PMEMKV_STATUS_UNKNOWN_ERROR, pmem::kv::status::NOT_FOUND = PMEMKV_STATUS_NOT_FOUND, pmem::kv::status::NOT_SUPPORTED = PMEMKV_STATUS_NOT_SUPPORTED, pmem::kv::status::INVALID_ARGUMENT = PMEMKV_STATUS_INVALID_ARGUMENT, pmem::kv::status::CONFIG_PARSING_ERROR, pmem::kv::status::CONFIG_TYPE_ERROR, pmem::kv::status::STOPPED_BY_CB = PMEMKV_STATUS_STOPPED_BY_CB, pmem::kv::status::OUT_OF_MEMORY, pmem::kv::status::WRONG_ENGINE_NAME, pmem::kv::status::TRANSACTION_SCOPE_ERROR } |
Status returned by pmemkv functions. More... | |
Main C++ pmemkv public header.
It contains all pmemkv public types, enums, classes with their functions and members.