|
Blender V5.3
|
#include <writefile.hh>
Classes | |
| struct | [struct].buffer |
| struct | [struct].validation_data |
Public Attributes | |
| const SDNA * | sdna |
| std::ostream * | debug_dst = nullptr |
| struct | buffer |
| bool | is_writing_id |
| struct | validation_data |
| WriteDataStableAddressIDs | stable_address_ids |
| Set< const void * > | per_id_written_shared_addresses |
| MemFileWriteData | mem |
| bool | use_memfile |
| WriteWrap * | ww |
| std::string | filepath |
| double | timestamp_init |
Definition at line 79 of file writefile.hh.
| struct blender::WriteData::[struct].buffer blender::WriteData::buffer |
| std::ostream* blender::WriteData::debug_dst = nullptr |
Definition at line 81 of file writefile.hh.
Referenced by blender::write_file_handle(), blender::write_raw_data_in_debug_file(), blender::writedata(), and blender::writestruct_at_address_nr().
| std::string blender::WriteData::filepath |
Filepath being written to, may be the empty string.
Definition at line 145 of file writefile.hh.
Referenced by blender::write_file_handle().
| bool blender::WriteData::is_writing_id |
Whether writefile code is currently writing an ID.
Definition at line 101 of file writefile.hh.
Referenced by blender::mywrite_id_begin(), blender::mywrite_id_end(), and blender::write_at_address_validate().
| MemFileWriteData blender::WriteData::mem |
MemFile writing (used for undo).
Definition at line 133 of file writefile.hh.
Referenced by blender::mywrite_begin(), blender::mywrite_end(), blender::mywrite_id_begin(), blender::mywrite_id_end(), and blender::writedata_do_write().
| Set<const void *> blender::WriteData::per_id_written_shared_addresses |
Keeps track of which shared data has been written for the current ID. This is necessary to avoid writing the same data more than once.
Definition at line 130 of file writefile.hh.
Referenced by blender::mywrite_id_end().
| const SDNA* blender::WriteData::sdna |
Definition at line 80 of file writefile.hh.
Referenced by blender::write_file_handle(), blender::writedata_new(), and blender::writestruct_at_address_nr().
| WriteDataStableAddressIDs blender::WriteData::stable_address_ids |
Data to generate stable fake pointer values in written blendfile.
Definition at line 124 of file writefile.hh.
Referenced by blender::BlendStructWriterVoid::generated_ptr(), blender::get_address_id_for_undo(), blender::get_address_id_int(), blender::get_next_stable_address_id(), blender::mywrite_id_begin(), blender::mywrite_id_end(), blender::prepare_stable_data_block_ids(), blender::writedata_new(), and blender::writestruct_at_address_nr().
| double blender::WriteData::timestamp_init |
Timestamp info defined when creating the new WriteData. Used for performance logging.
Definition at line 150 of file writefile.hh.
Referenced by blender::mywrite_end(), and blender::writedata_new().
| bool blender::WriteData::use_memfile |
When true, write to #WriteData.current, could also call 'is_undo'.
Definition at line 135 of file writefile.hh.
Referenced by blender::BLO_memfile_write_init(), blender::BlendStructWriterVoid::generated_ptr(), blender::get_address_id_int(), blender::mywrite_end(), blender::mywrite_id_begin(), blender::mywrite_id_end(), blender::prepare_stable_data_block_ids(), blender::write_at_address_validate(), blender::write_file_handle(), blender::write_global(), blender::write_id(), blender::write_id_placeholder(), blender::write_library_if_needed(), blender::writedata_do_write(), and blender::writestruct_at_address_nr().
| struct blender::WriteData::[struct].validation_data blender::WriteData::validation_data |
| WriteWrap* blender::WriteData::ww |
Wrap writing, so we can use ZSTD or other compression types later, see: G_FILE_COMPRESS. Will be nullptr for UNDO.
Definition at line 142 of file writefile.hh.
Referenced by blender::writedata_do_write(), and blender::writedata_new().