projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed as many exceptions as possible from the C++ product readers
[zxing.git]
/
cpp
/
core
/
src
/
zxing
/
oned
/
UPCEReader.h
diff --git
a/cpp/core/src/zxing/oned/UPCEReader.h
b/cpp/core/src/zxing/oned/UPCEReader.h
index
2a9e89a
..
a42f29f
100644
(file)
--- a/
cpp/core/src/zxing/oned/UPCEReader.h
+++ b/
cpp/core/src/zxing/oned/UPCEReader.h
@@
-26,19
+26,19
@@
namespace zxing {
namespace oned {
class UPCEReader : public UPCEANReader {
namespace zxing {
namespace oned {
class UPCEReader : public UPCEANReader {
-
+
private:
private:
- static void determineFirstDigit(std::string& resultString, int lgPatternFound); //throws ReaderException
- static void determineNumSysAndCheckDigit(std::string& resultString, int lgPatternFound); //throws ReaderException
+ static bool determineNumSysAndCheckDigit(std::string& resultString, int lgPatternFound);
protected:
protected:
- int* decodeEnd(Ref<BitArray> row, int endStart);
//throws ReaderException
- bool checkChecksum(std::string s);
//throws ReaderException
+ int* decodeEnd(Ref<BitArray> row, int endStart);
+ bool checkChecksum(std::string s);
public:
UPCEReader();
public:
UPCEReader();
-
- int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen, std::string& resultString); //throws ReaderException
+
+ int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen,
+ std::string& resultString);
static std::string convertUPCEtoUPCA(std::string upce);
static std::string convertUPCEtoUPCA(std::string upce);
-
+
BarcodeFormat getBarcodeFormat();
};
}
BarcodeFormat getBarcodeFormat();
};
}