SOUND4 x1.CLOUD Library [1.5.6]
Loading...
Searching...
No Matches
Public Member Functions | List of all members
sound4::CPresetLoader Class Referenceabstract

Custom preset handler helper. More...

#include <sound4cl.hpp>

Inheritance diagram for sound4::CPresetLoader:
MyPresetManager

Public Member Functions

 CPresetLoader ()=default
 
virtual ~CPresetLoader ()=default
 
virtual bool IsReadOnly ()=0
 
virtual bool Exists (const std::filesystem::path &name)=0
 
virtual bool Remove (const std::filesystem::path &name)=0
 
virtual bool Rename (const std::filesystem::path &from, const std::filesystem::path &to)=0
 
virtual std::vector< std::filesystem::path > GetAll ()=0
 
virtual std::string Read (const std::filesystem::path &filename)=0
 
virtual bool Write (const std::filesystem::path &filename, const std::string &content)=0
 

Detailed Description

Derive from this class and call CInstance::SetPresetManager

Definition at line 850 of file sound4cl.hpp.

Constructor & Destructor Documentation

◆ CPresetLoader()

sound4::CPresetLoader::CPresetLoader ( )
default

◆ ~CPresetLoader()

virtual sound4::CPresetLoader::~CPresetLoader ( )
virtualdefault

Member Function Documentation

◆ Exists()

virtual bool sound4::CPresetLoader::Exists ( const std::filesystem::path &  name)
pure virtual

Implemented in MyPresetManager, and MyPresetManager.

◆ GetAll()

virtual std::vector< std::filesystem::path > sound4::CPresetLoader::GetAll ( )
pure virtual

Implemented in MyPresetManager, and MyPresetManager.

◆ IsReadOnly()

virtual bool sound4::CPresetLoader::IsReadOnly ( )
pure virtual

Implemented in MyPresetManager, and MyPresetManager.

◆ Read()

virtual std::string sound4::CPresetLoader::Read ( const std::filesystem::path &  filename)
pure virtual

Implemented in MyPresetManager, and MyPresetManager.

◆ Remove()

virtual bool sound4::CPresetLoader::Remove ( const std::filesystem::path &  name)
pure virtual

Implemented in MyPresetManager, and MyPresetManager.

◆ Rename()

virtual bool sound4::CPresetLoader::Rename ( const std::filesystem::path &  from,
const std::filesystem::path &  to 
)
pure virtual

Implemented in MyPresetManager, and MyPresetManager.

◆ Write()

virtual bool sound4::CPresetLoader::Write ( const std::filesystem::path &  filename,
const std::string &  content 
)
pure virtual

Implemented in MyPresetManager, and MyPresetManager.


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