Blender  V2.93
Public Attributes | List of all members
FileListInternEntry Struct Reference

Public Attributes

struct FileListInternEntrynext
 
struct FileListInternEntryprev
 
char uuid [16]
 
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 263 of file filelist.c.

Member Data Documentation

◆ attributes

eFileAttributes FileListInternEntry::attributes

Defined in BLI_fileops.h

Definition at line 300 of file filelist.c.

Referenced by filelist_file_create_entry(), and filelist_readjob_list_dir().

◆ blentype

int FileListInternEntry::blentype

ID type, in case typeflag has FILE_TYPE_BLENDERLIB set.

Definition at line 272 of file filelist.c.

Referenced by compare_extension(), filelist_file_create_entry(), filelist_readjob_list_lib(), and filelist_readjob_main_assets().

◆ 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 288 of file filelist.c.

Referenced by filelist_file_create_entry(), and filelist_readjob_main_assets().

◆ 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 297 of file filelist.c.

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

◆ 

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 filelist_cache_previews_push(), filelist_file_create_entry(), and filelist_readjob_main_assets().

◆ name

char* FileListInternEntry::name

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

Definition at line 278 of file filelist.c.

Referenced by compare_date(), compare_extension(), compare_name(), compare_size(), filelist_file_create_entry(), filelist_intern_entry_free(), filelist_readjob_do(), and filelist_readjob_main_assets().

◆ next

struct FileListInternEntry* FileListInternEntry::next

Definition at line 264 of file filelist.c.

Referenced by filelist_intern_free(), and filelist_readjob_do().

◆ prev

struct FileListInternEntry * FileListInternEntry::prev

Definition at line 264 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 276 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

◆ uuid

char FileListInternEntry::uuid[16]

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