Blender  V3.3
Public Attributes | List of all members
MemFileChunk Struct Reference

#include <BLO_undofile.h>

Public Attributes

voidnext
 
voidprev
 
const char * buf
 
size_t size
 
bool is_identical
 
bool is_identical_future
 
uint id_session_uuid
 

Detailed Description

Definition at line 16 of file BLO_undofile.h.

Member Data Documentation

◆ buf

const char* MemFileChunk::buf

◆ id_session_uuid

uint MemFileChunk::id_session_uuid

Session UUID of the ID being currently written (MAIN_ID_SESSION_UUID_UNSET when not writing ID-related data). Used to find matching chunks in previous memundo step.

Definition at line 29 of file BLO_undofile.h.

Referenced by BLO_memfile_chunk_add(), and mywrite_id_begin().

◆ is_identical

bool MemFileChunk::is_identical

When true, this chunk doesn't own the memory, it's shared with a previous MemFileChunk

Definition at line 22 of file BLO_undofile.h.

Referenced by BLO_memfile_chunk_add(), BLO_memfile_free(), BLO_memfile_merge(), and undo_read().

◆ is_identical_future

bool MemFileChunk::is_identical_future

When true, this chunk is also identical to the one in the next step (used by undo code to detect unchanged IDs). Defined when writing the next step (i.e. last undo step has those always false).

Definition at line 26 of file BLO_undofile.h.

Referenced by BLO_memfile_chunk_add(), and undo_read().

◆ next

void* MemFileChunk::next

Definition at line 17 of file BLO_undofile.h.

Referenced by BLO_memfile_chunk_add(), BLO_memfile_write_file(), and undo_read().

◆ prev

void * MemFileChunk::prev

Definition at line 17 of file BLO_undofile.h.

Referenced by mywrite_id_begin().

◆ size

size_t MemFileChunk::size

Size in bytes.

Definition at line 20 of file BLO_undofile.h.

Referenced by BLO_memfile_chunk_add(), BLO_memfile_write_file(), and undo_read().


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