Blender V4.3
FileDirEntry Struct Reference

#include <DNA_space_types.h>

Public Attributes

struct FileDirEntrynext
 
struct FileDirEntryprev
 
uint32_t uid
 
const char * name
 
uint64_t size
 
int64_t time
 
struct { 
 
   char   size_str [16] 
 
   char   datetime_str [16+8] 
 
draw_data 
 
int typeflag
 
int blentype
 
char * relpath
 
char * redirection_path
 
IDid
 
AssetRepresentationHandleasset
 
int preview_icon_id
 
short flags
 
int attributes
 

Detailed Description

Definition at line 1146 of file DNA_space_types.h.

Member Data Documentation

◆ asset

AssetRepresentationHandle* FileDirEntry::asset

If this file represents an asset, its asset data is here. Note that we may show assets of external files in which case this is set but not the id above. Note comment for FileListInternEntry.local_data, the same applies here!

Definition at line 1180 of file DNA_space_types.h.

Referenced by blender::ed::asset::list::asset_get_by_index(), file_context(), and blender::ed::asset::handle_get_representation().

◆ attributes

int FileDirEntry::attributes

Definition at line 1187 of file DNA_space_types.h.

◆ blentype

int FileDirEntry::blentype

ID type, in case typeflag has FILE_TYPE_BLENDERLIB set.

Definition at line 1166 of file DNA_space_types.h.

◆ datetime_str

char FileDirEntry::datetime_str[16+8]

Definition at line 1160 of file DNA_space_types.h.

◆ [struct]

struct { ... } FileDirEntry::draw_data

◆ flags

◆ id

ID* FileDirEntry::id

When showing local IDs (FILE_MAIN, FILE_MAIN_ASSET), ID this file represents. Note comment for FileListInternEntry.local_data, the same applies here!

Definition at line 1176 of file DNA_space_types.h.

◆ name

const char* FileDirEntry::name

Definition at line 1152 of file DNA_space_types.h.

Referenced by filelist_entry_clear().

◆ next

struct FileDirEntry* FileDirEntry::next

Definition at line 1147 of file DNA_space_types.h.

Referenced by filelist_direntryarr_free().

◆ prev

struct FileDirEntry * FileDirEntry::prev

Definition at line 1147 of file DNA_space_types.h.

◆ preview_icon_id

◆ redirection_path

char* FileDirEntry::redirection_path

Optional argument for shortcuts, aliases etc.

Definition at line 1172 of file DNA_space_types.h.

Referenced by filelist_cache_previews_push(), and filelist_entry_clear().

◆ relpath

char* FileDirEntry::relpath

Definition at line 1170 of file DNA_space_types.h.

Referenced by filelist_entry_clear().

◆ size

uint64_t FileDirEntry::size

Definition at line 1154 of file DNA_space_types.h.

◆ size_str

char FileDirEntry::size_str[16]

Definition at line 1159 of file DNA_space_types.h.

◆ time

int64_t FileDirEntry::time

Definition at line 1155 of file DNA_space_types.h.

◆ typeflag

◆ uid


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