template<enum Format F>
arcsdec::v_1_0_0::RegisterFormat struct final

Register a Format.

Template parameters
F The Format to register

Register a set of supported filename suffices and a byte sequence for a Format F.

Constructors, destructors, conversion operators

RegisterFormat(const SuffixSet& suffices, const Bytes& bytes, const std::set<Codec>& codecs)
Constructor.
RegisterFormat(const SuffixSet& suffices, const std::set<Codec>& codecs)
Constructor.

Function documentation

template<enum Format F>
arcsdec::v_1_0_0::RegisterFormat<F>::RegisterFormat(const SuffixSet& suffices, const Bytes& bytes, const std::set<Codec>& codecs)

Constructor.

Parameters
suffices in Set of supported filename suffices for F
bytes in Reference byte sequence to determine F
codecs in Set of codecs supported with F

template<enum Format F>
arcsdec::v_1_0_0::RegisterFormat<F>::RegisterFormat(const SuffixSet& suffices, const std::set<Codec>& codecs)

Constructor.

Parameters
suffices in Set of supported filename suffices for F
codecs in Set of codecs supported with F