arcstk::v_1_0_0::TracksetVerifier class final
#include <verify.hpp>

Verifier for a set of checksums without a ToC.

Find any match of any actual Checksum in the reference. This targets the situation where a set of tracks is to be matched that actually forms an album but there is no ToC present. This means that there is also no ARId known and maybe not even the actual order of tracks.

TracksetVerifier requires that the set of actual checksums and the blocks of the ChecksumSource have the same cardinality. This means intuitively that the number of tracks in local input as well as in the reference must be the same. The verification of only some tracks against a superset of references is not supported.

The AlbumVerifier is less ressource-consuming since it has to perform only a single match for every reference value. It is therefore recommended to use AlbumVerifier in any case where a ToC is available.

Base classes

class v_1_0_0::Verifier
Interface: perform a verification.

Constructors, destructors, conversion operators

TracksetVerifier(const Checksums& actual_sums) explicit
Constructor.
~TracksetVerifier() noexcept
Default destructor.

Function documentation

arcstk::v_1_0_0::TracksetVerifier::TracksetVerifier(const Checksums& actual_sums) explicit

Constructor.

Parameters
actual_sums in Actual checksums to check for