class final
#include <identifier.hpp>
v_1_0_0::ARId AccurateRip-Identifier of a compact disc.
The AccurateRip identifier determines the URL of the compact disc dataset as well as the standard filename of the AccurateRip response.
ARIds can be constructed either from three precomputed ids or from a TOC using function make_
In some cases, an ARId is syntactically required, but semantically superflous. An ARId can be empty() to indicate that it carries no identifier. An ARId that qualifies as empty() can be constructed by make_
Constructors, destructors, conversion operators
Public functions
- auto cddb_id() const -> uint32_t noexcept
- Return the CDDB id.
- auto disc_id_1() const -> uint32_t noexcept
- Return the disc_id 1.
- auto disc_id_2() const -> uint32_t noexcept
- Return the disc_id 2.
- auto empty() const -> bool noexcept
- Return
TRUE
iff this ARId is empty (holding no information). - auto filename() const -> std::string noexcept
- Return the AccurateRip filename of the response file.
- auto prefix() const -> std::string noexcept
- Return the standard URL prefix for AccurateRip request urls.
- auto to_string() const -> std::string noexcept
- Return a default string representation of this ARId.
- auto track_count() const -> int noexcept
- Return the track count.
- auto url() const -> std::string noexcept
- Return the AccurateRip request URL.
Function documentation
uint32_t arcstk:: v_1_0_0:: ARId:: cddb_id() const noexcept
Return the CDDB id.
Returns | CDDB id of this medium |
---|
uint32_t arcstk:: v_1_0_0:: ARId:: disc_id_1() const noexcept
Return the disc_id 1.
Returns | Disc id 1 of this medium |
---|
uint32_t arcstk:: v_1_0_0:: ARId:: disc_id_2() const noexcept
Return the disc_id 2.
Returns | Disc id 2 of this medium |
---|
std::string arcstk:: v_1_0_0:: ARId:: filename() const noexcept
Return the AccurateRip filename of the response file.
Returns | AccurateRip filename of the response file |
---|
std::string arcstk:: v_1_0_0:: ARId:: prefix() const noexcept
Return the standard URL prefix for AccurateRip request urls.
Returns | URL prefix for AccurateRip request URLs. |
---|
int arcstk:: v_1_0_0:: ARId:: track_count() const noexcept
Return the track count.
Returns | Track count of this medium |
---|
std::string arcstk:: v_1_0_0:: ARId:: url() const noexcept
Return the AccurateRip request URL.
Returns | The AccurateRip request URL |
---|