dbar.hpp file

Public API for reading and representing dBAR-files.

Namespaces

namespace arcstk
libarcstk main namespace
namespace arcstk::v_1_0_0 inline
API version 1.0.0.

Classes

class arcstk::v_1_0_0::DBAR
Represents the content of dBAR file.
class arcstk::v_1_0_0::DBARBlock
A block in a DBAR.
class arcstk::v_1_0_0::DBARBlockHeader
The header of a DBARBlock.
class arcstk::v_1_0_0::DBARBuilder
ParseHandler to build a DBAR object.
class arcstk::v_1_0_0::DBARErrorHandler
Default ParseErrorHandler for parsing DBAR objects.
class arcstk::v_1_0_0::DBARTriplet
A triplet in a DBARBlock.
class arcstk::v_1_0_0::ParseErrorHandler
Interface: error handling while parsing a dBAR format.
class arcstk::v_1_0_0::ParseHandler
Interface: parsing a byte stream in dBAR format.
class arcstk::v_1_0_0::StreamParseException
Reports a read error during parsing a binary stream.

Functions

auto is_valid_arcs(const uint32_t value) -> bool
Check a parsed value whether it is a valid ARCS (also frame 450 ARCS).
auto is_valid_confidence(const unsigned value) -> bool
Check a parsed value whether it is a valid confidence.
auto load_file(const std::string& filename) -> DBAR
Read an AccurateRip response file to a DBAR object.
auto parse_file(const std::string& filename, ParseHandler* p, ParseErrorHandler* e) -> uint32_t
Parse a file.
auto parse_stream(std::istream& in, ParseHandler* p, ParseErrorHandler* e) -> uint32_t
Parse an input stream.