#include <zxing/Result.h>
namespace zxing {
- namespace oned {
- class EAN13Reader : public UPCEANReader {
-
- private:
- static void determineFirstDigit(std::string& resultString, int lgPatternFound); //throws ReaderException
-
- public:
- EAN13Reader();
-
- int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen, std::string& resultString); //throws ReaderException
-
- BarcodeFormat getBarcodeFormat();
- };
- }
+ namespace oned {
+ class EAN13Reader : public UPCEANReader {
+
+ private:
+ static bool determineFirstDigit(std::string& resultString, int lgPatternFound);
+
+ public:
+ EAN13Reader();
+
+ int decodeMiddle(Ref<BitArray> row, int startGuardBegin, int startGuardEnd,
+ std::string& resultString);
+
+ BarcodeFormat getBarcodeFormat();
+ };
+ }
}
#endif