PMDK C++ bindings
1.11
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Go to the documentation of this file.
9 #ifndef LIBPMEMOBJ_CPP_ALLOCATION_FLAG_HPP
10 #define LIBPMEMOBJ_CPP_ALLOCATION_FLAG_HPP
12 #include <libpmemobj/base.h>
72 return (value & rhs.value) != 0;
126 return (value & rhs.value) != 0;
static allocation_flag no_flush()
Skip flush on commit.
Definition: allocation_flag.hpp:52
allocation_flag_atomic(uint64_t val)
Emplace constructor.
Definition: allocation_flag.hpp:98
allocation_flag(uint64_t val)
Emplace constructor.
Definition: allocation_flag.hpp:35
Persistent memory namespace.
Definition: allocation_flag.hpp:15
static allocation_flag_atomic class_id(uint64_t id)
Allocate the object from the allocation class with id equal to id.
Definition: allocation_flag.hpp:106
bool is_set(const allocation_flag &rhs)
Check if flag is set.
Definition: allocation_flag.hpp:70
Type of flag which can be passed to make_persistent_atomic.
Definition: allocation_flag.hpp:94
static allocation_flag class_id(uint64_t id)
Allocate the object from the allocation class with id equal to id.
Definition: allocation_flag.hpp:43
static allocation_flag_atomic none()
Do not change allocator behaviour.
Definition: allocation_flag.hpp:115
static allocation_flag none()
Do not change allocator behaviour.
Definition: allocation_flag.hpp:61
bool is_set(const allocation_flag_atomic &rhs)
Check if flag is set.
Definition: allocation_flag.hpp:124
Type of flag which can be passed to make_persistent.
Definition: allocation_flag.hpp:31