arcstk::v_1_0_0::checksum namespace

Operations on checksum types and their names.

Enums

enum class type: unsigned int { ARCS1 = 1, ARCS2 = 2 }
Pre-defined checksum types.

Functions

auto type_name(const type t) -> std::string
Obtain the name of a checksum::type.

Variables

static const std::array<type, 2> types
Iterable sequence of all predefined checksum types.

Enum documentation

enum class arcstk::v_1_0_0::checksum::type: unsigned int

Pre-defined checksum types.

ARCS1 is AccurateRip v1 and ARCS2 is AccurateRip v2.

Function documentation

std::string arcstk::v_1_0_0::checksum::type_name(const type t)

Obtain the name of a checksum::type.

Parameters
in Type to get name of
Returns Name of type t

Variable documentation

static const std::array<type, 2> arcstk::v_1_0_0::checksum::types

Iterable sequence of all predefined checksum types.

The order of the types is identical to the total order of numeric values the types have in enum class checksum::type.