PMDK C++ bindings  1.8.2
This is the C++ bindings documentation for PMDK's libpmemobj.
Public Member Functions | Static Public Member Functions | List of all members
pmem::obj::allocation_flag Struct Reference

Type of flag which can be passed to make_persistent. More...

#include <libpmemobj++/allocation_flag.hpp>

Public Member Functions

 allocation_flag (uint64_t val)
 Emplace constructor.
 
bool is_set (const allocation_flag &rhs)
 Check if flag is set.
 

Static Public Member Functions

static allocation_flag class_id (uint64_t id)
 Allocate the object from the allocation class with id equal to id.
 
static allocation_flag no_flush ()
 Skip flush on commit.
 
static allocation_flag none ()
 Do not change allocator behaviour.
 

Detailed Description

Type of flag which can be passed to make_persistent.

Allowed flags are:

Flags can be combined with each other using operator|()


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