X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=cpp%2Fcore%2Fsrc%2Fzxing%2Foned%2FUPCEReader.h;h=42a4fd0604d07c1f81c433bed372d694fe1d642b;hp=a42f29f1a018ca19ac5b0336ab8abc2105b793dc;hb=ed5e46807ea0847057ff4d8c714b16938005a299;hpb=a26a7880879d983c8d0bbaf2f56391999d12edde diff --git a/cpp/core/src/zxing/oned/UPCEReader.h b/cpp/core/src/zxing/oned/UPCEReader.h index a42f29f1..42a4fd06 100644 --- a/cpp/core/src/zxing/oned/UPCEReader.h +++ b/cpp/core/src/zxing/oned/UPCEReader.h @@ -24,24 +24,24 @@ #include namespace zxing { - namespace oned { - class UPCEReader : public UPCEANReader { + namespace oned { + class UPCEReader : public UPCEANReader { - private: - static bool determineNumSysAndCheckDigit(std::string& resultString, int lgPatternFound); - protected: - int* decodeEnd(Ref row, int endStart); - bool checkChecksum(std::string s); - public: - UPCEReader(); + private: + static bool determineNumSysAndCheckDigit(std::string& resultString, int lgPatternFound); + protected: + int* decodeEnd(Ref row, int endStart); + bool checkChecksum(std::string s); + public: + UPCEReader(); - int decodeMiddle(Ref row, int startRange[], int startRangeLen, - std::string& resultString); - static std::string convertUPCEtoUPCA(std::string upce); + int decodeMiddle(Ref row, int startRange[], int startRangeLen, + std::string& resultString); + static std::string convertUPCEtoUPCA(std::string upce); - BarcodeFormat getBarcodeFormat(); - }; - } + BarcodeFormat getBarcodeFormat(); + }; + } } #endif