Code128Reader.h Example File
appdemos/qtws/QZXing/zxing/zxing/oned/Code128Reader.h
#ifndef __CODE_128_READER_H__
#define __CODE_128_READER_H__
#include <zxing/oned/OneDReader.h>
#include <zxing/common/BitArray.h>
#include <zxing/Result.h>
namespace zxing {
namespace oned {
class Code128Reader : public OneDReader {
private:
static const int MAX_AVG_VARIANCE;
static const int MAX_INDIVIDUAL_VARIANCE;
static std::vector<int> findStartPattern(Ref<BitArray> row);
static int decodeCode(Ref<BitArray> row,
std::vector<int>& counters,
int rowOffset);
public:
Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row, DecodeHints hints);
Code128Reader();
~Code128Reader();
BarcodeFormat getBarcodeFormat();
};
}
}
#endif