PMDK C++ bindings
1.9.1
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Go to the documentation of this file.
38 #ifndef LIBPMEMOBJ_CPP_ALLOCATION_FLAG_HPP
39 #define LIBPMEMOBJ_CPP_ALLOCATION_FLAG_HPP
41 #include <libpmemobj/base.h>
101 return (value & rhs.value) != 0;
155 return (value & rhs.value) != 0;
static allocation_flag no_flush()
Skip flush on commit.
Definition: allocation_flag.hpp:81
allocation_flag_atomic(uint64_t val)
Emplace constructor.
Definition: allocation_flag.hpp:127
allocation_flag(uint64_t val)
Emplace constructor.
Definition: allocation_flag.hpp:64
Persistent memory namespace.
Definition: allocation_flag.hpp:44
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:135
bool is_set(const allocation_flag &rhs)
Check if flag is set.
Definition: allocation_flag.hpp:99
Type of flag which can be passed to make_persistent_atomic.
Definition: allocation_flag.hpp:123
static allocation_flag class_id(uint64_t id)
Allocate the object from the allocation class with id equal to id.
Definition: allocation_flag.hpp:72
static allocation_flag_atomic none()
Do not change allocator behaviour.
Definition: allocation_flag.hpp:144
static allocation_flag none()
Do not change allocator behaviour.
Definition: allocation_flag.hpp:90
bool is_set(const allocation_flag_atomic &rhs)
Check if flag is set.
Definition: allocation_flag.hpp:153
Type of flag which can be passed to make_persistent.
Definition: allocation_flag.hpp:60