Lumiera  0.pre.03
»edit your freedom«
steam::asset::anonymous_namespace{media.cpp} Namespace Reference

Functions

string extractName (const string &path)
 helper: extract a name token out of a given path/filename More...
 

Function Documentation

◆ extractName()

string steam::asset::anonymous_namespace{media.cpp}::extractName ( const string &  path)

helper: extract a name token out of a given path/filename

Returns
sanitised token based on the name (minus extension), empty string if not the common filename pattern.

Definition at line 67 of file media.cpp.

Referenced by MediaFactory::operator()().

+ Here is the caller graph for this function: