class final
#include <metadata.hpp>
v_1_0_0::ToC Table of contents of a compact disc.
Constructors, destructors, conversion operators
Public functions
- auto complete() const -> bool noexcept
- TRUE iff offsets and non-zero leadout are present, otherwise FALS.
- auto equals(const ToC& rhs) const -> bool noexcept
- TRUE iff this instance is equal to another instance.
- auto filenames() const -> std::vector<std::string>
- Filenames of this ToC.
- auto is_single_file() const -> bool noexcept
- TRUE iff the ToC specifies exactly one audiofile, otherwise FALSE.
- auto leadout() const -> AudioSize noexcept
- Leadout LBA frame of this ToC.
- auto offsets() const -> std::vector<AudioSize>
- Offsets of this ToC.
- void set_leadout(const AudioSize leadout) noexcept
- Set the leadout LBA frame of this ToC.
- auto total_tracks() const -> int noexcept
- Total tracks in this ToC.
Function documentation
bool arcstk:: v_1_0_0:: ToC:: is_single_file() const noexcept
TRUE iff the ToC specifies exactly one audiofile, otherwise FALSE.
Returns | TRUE iff the ToC has exactly one audio file, otherwise FALSE |
---|
However, the filenames()
returned may be more than 1, but they will be all identical. This is possible when the parsed metadata source specifies a file for each track.
This will be FALSE in case where multiple non-identical filenames were specified by the metadata source.
void arcstk:: v_1_0_0:: ToC:: set_leadout(const AudioSize leadout) noexcept
Set the leadout LBA frame of this ToC.
Parameters | |
---|---|
leadout in | The leadout frame to set |
int arcstk:: v_1_0_0:: ToC:: total_tracks() const noexcept
Total tracks in this ToC.
Returns | Total tracks |
---|