class final
#include <dbar.hpp>
v_1_0_0::DBARBlockHeader The header of a DBARBlock.
A DBARBlock represents a single block of triplets containing the actual ARCS values, the confidence values and the ARCS values of frame 450 for each track. The header of such a block contains the data to reconstruct the ARId, as there are the number of total tracks and the three ids.
A DBARBlockHeader is a POD and holds copies of the values.
Constructors, destructors, conversion operators
- DBARBlockHeader(const int total_tracks, const uint32_t id1, const uint32_t id2, const uint32_t cddb_id)
- Constructor for DBAR block header.
Public functions
- auto cddb_id() const -> uint32_t noexcept
- CDDB Id.
- auto id1() const -> uint32_t noexcept
- Id1.
- auto id2() const -> uint32_t noexcept
- Id2.
- auto total_tracks() const -> int noexcept
- Total number of tracks in this block.
Function documentation
arcstk:: v_1_0_0:: DBARBlockHeader:: DBARBlockHeader(const int total_tracks,
const uint32_t id1,
const uint32_t id2,
const uint32_t cddb_id)
Constructor for DBAR block header.
Parameters | |
---|---|
total_tracks in | Total number of tracks in this block |
id1 in | Id1 of the ARId |
id2 in | Id2 of the ARId |
cddb_id in | CDDB Id |
int arcstk:: v_1_0_0:: DBARBlockHeader:: total_tracks() const noexcept
Total number of tracks in this block.
Returns | Total number of tracks in this block |
---|