7#ifndef FXBARCODE_PDF417_BC_PDF417BARCODEMATRIX_H_
8#define FXBARCODE_PDF417_BC_PDF417BARCODEMATRIX_H_
15#include "core/fxcrt/data_vector.h"
19class CBC_BarcodeMatrix
final {
24 CBC_BarcodeRow*
getRow(size_t row)
const {
return m_matrix[row].get(); }
30 std::vector<std::unique_ptr<CBC_BarcodeRow>> m_matrix;
CBC_BarcodeRow * getRow(size_t row) const
DataVector< uint8_t > toBitArray()
CBC_BarcodeMatrix(size_t width, size_t height)
static int32_t GetErrorCorrectionCodewordCount(int32_t errorCorrectionLevel)
void setDimensions(int32_t maxCols, int32_t minCols, int32_t maxRows, int32_t minRows)
bool GenerateBarcodeLogic(WideStringView msg, int32_t errorCorrectionLevel)
CBC_BarcodeMatrix * getBarcodeMatrix()
WideString & operator+=(wchar_t ch)
CharType operator[](const size_t index) const
WideString(const WideString &other)