Blender V4.3
blender::ed::asset::index::AbstractFile Class Referenceabstract

Inherited by blender::ed::asset::index::AssetIndexFile, and 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 93 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 99 of file asset_indexer.cc.

References BLI_exists(), and get_file_path().

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

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