|
Blender V5.3
|
#include <BLO_core_bhead.hh>
Public Attributes | |
| int | code |
| int | SDNAnr |
| const void * | old |
| int64_t | len |
| int64_t | nr |
Definition at line 16 of file BLO_core_bhead.hh.
| int blender::BHead::code |
Identifier for this BHead. Can be any of BLO_CODE_* or an ID code like ID_OB.
Definition at line 18 of file BLO_core_bhead.hh.
Referenced by blender::bhead_from_bhead4(), blender::bhead_from_large_bhead8(), blender::bhead_from_small_bhead8(), blender::blo_bhead_is_id(), blender::blo_bhead_is_id_valid_type(), blender::blo_bhead_library_filepath(), blender::blo_bhead_library_flag(), blender::BLO_blendhandle_get_datablock_info(), blender::BLO_blendhandle_get_datablock_names(), blender::BLO_blendhandle_get_linkable_groups(), blender::blo_read_file_internal(), blender::expand_doit_library(), blender::find_previous_lib(), blender::link_named_part(), blender::read_data_into_datamap(), blender::read_file_dna(), blender::read_file_thumbnail(), blender::read_file_version_and_colorspace(), blender::read_id_in_lib(), blender::read_id_struct(), blender::read_libblock(), blender::read_libblock_is_identical(), blender::read_libblock_undo_restore(), blender::read_libblock_undo_restore_identical(), blender::write_bhead(), blender::write_file_handle(), blender::writedata(), and blender::writestruct_at_address_nr().
| int64_t blender::BHead::len |
Number of bytes in the block.
Definition at line 29 of file BLO_core_bhead.hh.
Referenced by blender::bhead_from_bhead4(), blender::bhead_from_large_bhead8(), blender::bhead_from_small_bhead8(), blender::blo_bhead_data_at(), blender::blo_bhead_read_data(), blender::blo_bhead_read_full(), blender::blo_bhead_string_at(), blender::blo_blendhandle_read_preview_rects(), blender::get_bhead(), blender::peek_struct_undo(), blender::read_file_dna(), blender::read_file_thumbnail(), blender::read_libblock_is_identical(), blender::read_struct(), blender::write_bhead(), blender::writedata(), and blender::writestruct_at_address_nr().
| int64_t blender::BHead::nr |
Number of structs in the array (1 for simple structs).
Definition at line 31 of file BLO_core_bhead.hh.
Referenced by blender::bhead_from_bhead4(), blender::bhead_from_large_bhead8(), blender::bhead_from_small_bhead8(), blender::get_alloc_name(), blender::read_struct(), blender::write_bhead(), blender::writedata(), and blender::writestruct_at_address_nr().
| const void* blender::BHead::old |
Identifier the block had when it was written. This is used to remap memory blocks on load. Typically, this is the pointer that the memory had when it was written. This should be unique across the whole blend-file, except for BLEND_DATA blocks, which should be unique within a same ID.
Definition at line 27 of file BLO_core_bhead.hh.
Referenced by blender::bhead_from_bhead4(), blender::bhead_from_large_bhead8(), blender::bhead_from_small_bhead8(), blender::blo_add_main_for_library(), blender::find_bhead(), blender::link_named_part(), blender::read_data_into_datamap(), blender::read_id_in_lib(), blender::read_libblock(), blender::read_libblock_undo_restore(), blender::read_libblock_undo_restore_identical(), blender::read_libblock_undo_restore_linked(), blender::read_undo_move_libmain_data(), blender::sort_bhead_old_map(), blender::write_bhead(), blender::writedata(), and blender::writestruct_at_address_nr().
| int blender::BHead::SDNAnr |
Identifier of the struct type that is stored in this block.
Definition at line 20 of file BLO_core_bhead.hh.
Referenced by blender::bhead_from_bhead4(), blender::bhead_from_large_bhead8(), blender::bhead_from_small_bhead8(), blender::blo_blendhandle_read_preview_rects(), blender::get_alloc_name(), blender::read_struct(), blender::write_bhead(), blender::writedata(), and blender::writestruct_at_address_nr().