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

#include <readfile.h>

Public Attributes

ListBase bhead_list
 
enum eFileDataFlag flags
 
bool is_eof
 
FileReaderfile
 
int undo_direction
 
char relabase [FILE_MAX]
 
struct SDNAfilesdna
 
const struct SDNAmemsdna
 
const char * compflags
 
struct DNA_ReconstructInforeconstruct_info
 
int fileversion
 
int id_name_offset
 
int id_asset_data_offset
 
int globalf
 
int fileflags
 
eBLOReadSkip skip_flags
 
int id_tag_extra
 
struct OldNewMapdatamap
 
struct OldNewMapglobmap
 
struct OldNewMaplibmap
 
struct OldNewMappackedmap
 
struct BLOCacheStoragecache_storage
 
struct BHeadSortbheadmap
 
int tot_bheadmap
 
struct GHashbhead_idname_hash
 
ListBasemainlist
 
ListBaseold_mainlist
 
struct IDNameLib_Mapold_idmap
 
struct BlendFileReadReportreports
 

Detailed Description

Definition at line 47 of file readfile.h.

Member Data Documentation

◆ bhead_idname_hash

struct GHash* FileData::bhead_idname_hash

◆ bhead_list

ListBase FileData::bhead_list

Linked list of BHeadN's.

Definition at line 49 of file readfile.h.

Referenced by blo_bhead_first(), blo_filedata_free(), and get_bhead().

◆ bheadmap

struct BHeadSort* FileData::bheadmap

Definition at line 95 of file readfile.h.

Referenced by blo_filedata_free(), find_bhead(), and sort_bhead_old_map().

◆ cache_storage

struct BLOCacheStorage* FileData::cache_storage

◆ compflags

const char* FileData::compflags

Array of eSDNA_StructCompare.

Definition at line 66 of file readfile.h.

Referenced by blo_filedata_free(), read_file_dna(), and read_struct().

◆ datamap

struct OldNewMap* FileData::datamap

◆ file

FileReader* FileData::file

◆ fileflags

int FileData::fileflags

Definition at line 76 of file readfile.h.

Referenced by read_global().

◆ filesdna

struct SDNA* FileData::filesdna

◆ fileversion

int FileData::fileversion

◆ flags

enum eFileDataFlag FileData::flags

◆ globalf

int FileData::globalf

For do_versions patching.

Definition at line 76 of file readfile.h.

Referenced by read_global().

◆ globmap

struct OldNewMap* FileData::globmap

◆ id_asset_data_offset

int FileData::id_asset_data_offset

Used to retrieve asset data from (bhead+1). NOTE: This may not be available in old files, will be -1 then!

Definition at line 74 of file readfile.h.

Referenced by blo_bhead_id_asset_data_address(), and read_file_dna().

◆ id_name_offset

int FileData::id_name_offset

Used to retrieve ID names from (bhead+1).

Definition at line 71 of file readfile.h.

Referenced by blo_bhead_id_name(), and read_file_dna().

◆ id_tag_extra

int FileData::id_tag_extra

Tag to apply to all loaded ID data-blocks.

Note
This is initialized from LibraryLink_Params.id_tag_extra since passing it as an argument would need an additional argument to be passed around when expanding library data.

Definition at line 87 of file readfile.h.

Referenced by expand_doit_library(), and link_named_part().

◆ is_eof

bool FileData::is_eof

Definition at line 51 of file readfile.h.

Referenced by get_bhead().

◆ libmap

struct OldNewMap* FileData::libmap

◆ mainlist

ListBase* FileData::mainlist

◆ memsdna

const struct SDNA* FileData::memsdna

Definition at line 64 of file readfile.h.

Referenced by BLO_read_pointer_array(), filedata_new(), and read_file_dna().

◆ old_idmap

struct IDNameLib_Map* FileData::old_idmap

◆ old_mainlist

ListBase* FileData::old_mainlist

◆ packedmap

struct OldNewMap* FileData::packedmap

◆ reconstruct_info

struct DNA_ReconstructInfo* FileData::reconstruct_info

Definition at line 67 of file readfile.h.

Referenced by blo_filedata_free(), read_file_dna(), and read_struct().

◆ relabase

char FileData::relabase[FILE_MAX]

◆ reports

struct BlendFileReadReport* FileData::reports

◆ skip_flags

eBLOReadSkip FileData::skip_flags

◆ tot_bheadmap

int FileData::tot_bheadmap

Definition at line 96 of file readfile.h.

Referenced by find_bhead(), and sort_bhead_old_map().

◆ undo_direction

int FileData::undo_direction

Whether we are undoing (< 0) or redoing (> 0), used to choose which 'unchanged' flag to use to detect unchanged data from memfile.

Definition at line 57 of file readfile.h.

Referenced by blo_filedata_from_memfile(), and direct_link_id_restore_recalc().


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