Blender  V3.3
Public Member Functions | List of all members
blender::ed::asset::index::AbstractFile Class Referenceabstract
Inheritance diagram for blender::ed::asset::index::AbstractFile:
blender::ed::asset::index::AssetIndexFile blender::ed::asset::index::BlendFile

Public Member Functions

virtual ~AbstractFile ()=default
 
virtual const char * get_file_path () const =0
 
bool exists () const
 
size_t get_file_size () const
 

Detailed Description

Abstract class for #BlendFile and #AssetIndexFile.

Definition at line 82 of file asset_indexer.cc.

Constructor & Destructor Documentation

◆ ~AbstractFile()

virtual blender::ed::asset::index::AbstractFile::~AbstractFile ( )
virtualdefault

Member Function Documentation

◆ exists()

bool blender::ed::asset::index::AbstractFile::exists ( ) const
inline

Definition at line 88 of file asset_indexer.cc.

References BLI_exists().

Referenced by blender::ed::asset::index::read_index().

◆ get_file_path()

virtual const char* blender::ed::asset::index::AbstractFile::get_file_path ( ) const
pure virtual

◆ get_file_size()

size_t blender::ed::asset::index::AbstractFile::get_file_size ( ) const
inline

Definition at line 93 of file asset_indexer.cc.

References BLI_file_size().


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