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

#include <DNA_space_types.h>

Public Attributes

struct FileDirEntrynext
 
struct FileDirEntryprev
 
uint32_t uid
 
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
 
struct AssetMetaDataasset_data
 
int preview_icon_id
 
short flags
 
int attributes
 

Detailed Description

Definition at line 1102 of file DNA_space_types.h.

Member Data Documentation

◆ asset_data

struct AssetMetaData* FileDirEntry::asset_data

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 1135 of file DNA_space_types.h.

Referenced by ED_asset_handle_get_metadata(), ED_asset_temp_id_consumer_create(), and file_context().

◆ attributes

int FileDirEntry::attributes

Definition at line 1142 of file DNA_space_types.h.

Referenced by filelist_cache_previews_push().

◆ blentype

int FileDirEntry::blentype

ID type, in case typeflag has FILE_TYPE_BLENDERLIB set.

Definition at line 1122 of file DNA_space_types.h.

Referenced by ED_asset_handle_get_id_type().

◆ datetime_str

char FileDirEntry::datetime_str[16+8]

Definition at line 1116 of file DNA_space_types.h.

◆ 

struct { ... } FileDirEntry::draw_data

◆ flags

short FileDirEntry::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 1131 of file DNA_space_types.h.

Referenced by ED_asset_handle_get_local_id().

◆ name

char* FileDirEntry::name

Definition at line 1108 of file DNA_space_types.h.

Referenced by ED_asset_handle_get_name(), and filelist_entry_clear().

◆ next

struct FileDirEntry* FileDirEntry::next

◆ prev

struct FileDirEntry * FileDirEntry::prev

Definition at line 1103 of file DNA_space_types.h.

◆ preview_icon_id

int FileDirEntry::preview_icon_id

◆ redirection_path

char* FileDirEntry::redirection_path

Optional argument for shortcuts, aliases etc.

Definition at line 1127 of file DNA_space_types.h.

Referenced by filelist_cache_previews_push(), and filelist_entry_clear().

◆ relpath

char* FileDirEntry::relpath

◆ size

uint64_t FileDirEntry::size

Definition at line 1110 of file DNA_space_types.h.

◆ size_str

char FileDirEntry::size_str[16]

Definition at line 1115 of file DNA_space_types.h.

◆ time

int64_t FileDirEntry::time

Definition at line 1111 of file DNA_space_types.h.

◆ typeflag

int FileDirEntry::typeflag

◆ uid

uint32_t FileDirEntry::uid

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