Etterna 0.74.4
Loading...
Searching...
No Matches
Functions
NotesLoader Namespace Reference

Base class for step file loaders. More...

Functions

void GetMainAndSubTitlesFromFullTitle (const std::string &sFullTitle, std::string &sMainTitleOut, std::string &sSubTitleOut)
 Identify the main and sub titles from a full title.
 
bool LoadFromDir (const std::string &sPath, Song &out, std::set< std::string > &BlacklistedImages)
 Attempt to load a Song from the given directory.
 

Detailed Description

Base class for step file loaders.

Function Documentation

◆ GetMainAndSubTitlesFromFullTitle()

void NotesLoader::GetMainAndSubTitlesFromFullTitle ( const std::string &  sFullTitle,
std::string &  sMainTitleOut,
std::string &  sSubTitleOut 
)

Identify the main and sub titles from a full title.

Parameters
sFullTitlethe full title.
sMainTitleOutthe eventual main title.
sSubTitleOutthe ventual sub title.

◆ LoadFromDir()

bool NotesLoader::LoadFromDir ( const std::string &  sPath,
Song out,
std::set< std::string > &  BlacklistedImages 
)

Attempt to load a Song from the given directory.

Parameters
sPaththe path to the file.
outthe Song in question.
BlacklistedImagesimages to exclude (DWI files only for some reason).
Returns
its success or failure.