Blender V5.0
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 555 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 589 of file DNA_space_types.h.

Referenced by ED_fileselect_asset_import_method_get(), file_but_enable_drag(), file_but_tooltip_func_set(), file_context(), file_draw_list(), file_draw_tooltip_custom_func(), and filelist_file_get_full_path().

◆ attributes

int FileDirEntry::attributes

◆ blentype

int FileDirEntry::blentype

ID type, in case typeflag has FILE_TYPE_BLENDERLIB set.

Definition at line 575 of file DNA_space_types.h.

Referenced by filelist_geticon_file_type_ex().

◆ datetime_str

char FileDirEntry::datetime_str[16+8]

Definition at line 569 of file DNA_space_types.h.

Referenced by filelist_get_details_column_string().

◆ [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 585 of file DNA_space_types.h.

Referenced by filelist_file_get_id().

◆ name

const char* FileDirEntry::name

◆ next

struct FileDirEntry* FileDirEntry::next

Definition at line 556 of file DNA_space_types.h.

Referenced by filelist_direntryarr_free().

◆ prev

struct FileDirEntry * FileDirEntry::prev

Definition at line 556 of file DNA_space_types.h.

◆ preview_icon_id

◆ redirection_path

char* FileDirEntry::redirection_path

◆ relpath

◆ size

uint64_t FileDirEntry::size

◆ size_str

char FileDirEntry::size_str[16]

Definition at line 568 of file DNA_space_types.h.

Referenced by filelist_get_details_column_string().

◆ time

int64_t FileDirEntry::time

◆ typeflag

◆ uid


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