13#include "eformat/HeaderMarker.h"
14#include "eformat/Issue.h"
79 throw EFORMAT_WRONG_MARKER(
marker(), eformat::ROB);
88 }
catch(eformat::WrongMarkerIssue &ex){
91 }
catch(eformat::SizeCheckIssue &ex){
94 }
catch(eformat::BadVersionIssue &ex){
131 }
catch(eformat::RODSizeCheckIssue &ex){
134 }
catch(eformat::SizeCheckIssue &ex){
137 }
catch(eformat::BadRodVersionIssue &ex){
181 (std::vector<eformat::FragmentProblem>& p,
const uint16_t
version)
const
185 p.push_back(eformat::WRONG_MARKER);
187 p.push_back(eformat::UNSUPPORTED_VERSION);
190 p.push_back(eformat::WRONG_FRAGMENT_SIZE);
194 (std::vector<eformat::FragmentProblem>& p,
const uint16_t
version)
const
197 if (
rod_marker() != eformat::ROD) p.push_back(eformat::WRONG_ROD_MARKER);
199 p.push_back(eformat::UNSUPPORTED_ROD_VERSION);
202 p.push_back(eformat::WRONG_ROD_FRAGMENT_SIZE);
206(std::vector<eformat::FragmentProblem>& p,
234 if (
max == 0)
return 0;