![]() |
Sayonara Player
|
Changes all metadata containing one of the source ids and replaces it with the target id. For example, 3 different artists are merged into one. More...
#include <MergeData.h>
Public Member Functions | |
MergeData (const Util::Set< Id > &sourceIds, Id targetId, LibraryId libraryId) | |
Merges source_ids into target_id. More... | |
MergeData (const MergeData &other) | |
MergeData & | operator= (const MergeData &other) |
bool | isValid () const |
target_id >= 0, source_ids.size() > 1, source_ids >= 0 More... | |
Util::Set< Id > | sourceIds () const |
getter for source_ids. See constructor | |
Id | targetId () const |
getter for target_id. See constructor | |
LibraryId | libraryId () const |
getter for library_d. See constructor | |
Changes all metadata containing one of the source ids and replaces it with the target id. For example, 3 different artists are merged into one.
Library::MergeData::MergeData | ( | const Util::Set< Id > & | sourceIds, |
Id | targetId, | ||
LibraryId | libraryId | ||
) |
Merges source_ids into target_id.
source | ids |
target | ids |
libraryId,can | be -1 |
bool Library::MergeData::isValid | ( | ) | const |
target_id >= 0, source_ids.size() > 1, source_ids >= 0