|
Blender V5.0
|
#include <BLO_core_bhead.hh>
Public Attributes | |
| int | code |
| int | SDNAnr |
| const void * | old |
| int64_t | len |
| int64_t | nr |
Definition at line 14 of file BLO_core_bhead.hh.
| int BHead::code |
Identifier for this BHead. Can be any of BLO_CODE_* or an ID code like ID_OB.
Definition at line 16 of file BLO_core_bhead.hh.
Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), blo_bhead_is_id(), blo_bhead_is_id_valid_type(), BLO_blendhandle_get_datablock_info(), BLO_blendhandle_get_datablock_names(), BLO_blendhandle_get_linkable_groups(), blo_read_file_internal(), expand_doit_library(), find_previous_lib(), link_named_part(), read_data_into_datamap(), read_file_dna(), read_file_thumbnail(), read_file_version_and_colorspace(), read_id_in_lib(), read_libblock(), read_libblock_is_identical(), read_libblock_undo_restore(), read_libblock_undo_restore_identical(), write_bhead(), write_file_handle(), writedata(), and writestruct_at_address_nr().
| int64_t BHead::len |
Number of bytes in the block.
Definition at line 27 of file BLO_core_bhead.hh.
Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), blo_bhead_read_data(), blo_bhead_read_full(), blo_blendhandle_read_preview_rects(), get_bhead(), peek_struct_undo(), read_file_dna(), read_file_thumbnail(), read_libblock_is_identical(), read_struct(), write_bhead(), writedata(), and writestruct_at_address_nr().
| int64_t BHead::nr |
Number of structs in the array (1 for simple structs).
Definition at line 29 of file BLO_core_bhead.hh.
Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), get_alloc_name(), read_struct(), write_bhead(), writedata(), and writestruct_at_address_nr().
| const void* 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 25 of file BLO_core_bhead.hh.
Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), find_bhead(), link_named_part(), read_data_into_datamap(), read_id_in_lib(), read_libblock(), read_libblock_undo_restore(), read_libblock_undo_restore_identical(), read_libblock_undo_restore_linked(), read_undo_move_libmain_data(), sort_bhead_old_map(), write_bhead(), writedata(), and writestruct_at_address_nr().
| int BHead::SDNAnr |
Identifier of the struct type that is stored in this block.
Definition at line 18 of file BLO_core_bhead.hh.
Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), get_alloc_name(), read_struct(), write_bhead(), writedata(), and writestruct_at_address_nr().