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

Public Attributes

struct FileListInternEntrynext
 
struct FileListInternEntryprev
 
FileUID uid
 
int typeflag
 
int blentype
 
char * relpath
 
char * redirection_path
 
char * name
 
bool free_name
 
struct {
   ID *   id
 
   PreviewImage *   preview_image
 
local_data
 
AssetMetaDataimported_asset_data
 
eFileAttributes attributes
 
BLI_stat_t st
 

Detailed Description

Definition at line 252 of file filelist.c.

Member Data Documentation

◆ attributes

eFileAttributes FileListInternEntry::attributes

Defined in BLI_fileops.h

Definition at line 288 of file filelist.c.

Referenced by filelist_file_create_entry(), and filelist_readjob_list_dir().

◆ blentype

int FileListInternEntry::blentype

◆ free_name

bool FileListInternEntry::free_name

◆ id

ID* FileListInternEntry::id

When showing local IDs (FILE_MAIN, FILE_MAIN_ASSET), the ID this file entry represents.

Definition at line 276 of file filelist.c.

Referenced by compare_tiebreaker(), filelist_file_create_entry(), filelist_file_find_id(), filelist_intern_entry_is_main_file(), and filelist_readjob_main_assets_add_items().

◆ imported_asset_data

AssetMetaData* FileListInternEntry::imported_asset_data

When the file represents an asset read from another file, it is stored here. Owning pointer.

Definition at line 285 of file filelist.c.

Referenced by filelist_file_create_entry(), filelist_intern_entry_free(), and filelist_readjob_list_lib_add_datablock().

◆ 

struct { ... } FileListInternEntry::local_data

This is data from the current main, represented by this file. It's crucial that this is updated correctly on undo, redo and file reading (without UI). The space is responsible to take care of that.

Referenced by compare_tiebreaker(), filelist_cache_previews_push(), filelist_file_create_entry(), filelist_file_find_id(), filelist_intern_entry_is_main_file(), and filelist_readjob_main_assets_add_items().

◆ name

char* FileListInternEntry::name

not strictly needed, but used during sorting, avoids to have to recompute it there...

Definition at line 266 of file filelist.c.

Referenced by compare_tiebreaker(), filelist_file_create_entry(), filelist_intern_entry_free(), filelist_readjob_main_assets_add_items(), and filelist_readjob_recursive_dir_add_items().

◆ next

struct FileListInternEntry* FileListInternEntry::next

Definition at line 253 of file filelist.c.

Referenced by filelist_intern_free(), and filelist_readjob_recursive_dir_add_items().

◆ prev

struct FileListInternEntry * FileListInternEntry::prev

Definition at line 253 of file filelist.c.

◆ preview_image

PreviewImage* FileListInternEntry::preview_image

◆ redirection_path

char* FileListInternEntry::redirection_path

Optional argument for shortcuts, aliases etc.

Definition at line 264 of file filelist.c.

Referenced by filelist_file_create_entry(), filelist_intern_entry_free(), and filelist_readjob_list_dir().

◆ relpath

char* FileListInternEntry::relpath

◆ st

BLI_stat_t FileListInternEntry::st

◆ typeflag

int FileListInternEntry::typeflag

◆ uid

FileUID FileListInternEntry::uid

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