#include "fxbarcode/datamatrix/BC_SymbolInfo.h"
#include <array>
#include <iterator>
#include "core/fxcrt/notreached.h"
#include "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h"
#include "fxbarcode/datamatrix/BC_Encoder.h"
namespace {
constexpr size_t kSymbolsCount = …;
constexpr size_t kSymbolDataSize = …;
std::array<CBC_SymbolInfo*, kSymbolsCount> g_symbols = …;
constexpr std::array<CBC_SymbolInfo::Data, kSymbolDataSize> kSymbolData = …;
}
void CBC_SymbolInfo::Initialize() { … }
void CBC_SymbolInfo::Finalize() { … }
CBC_SymbolInfo::CBC_SymbolInfo(const Data* data) : … { … }
CBC_SymbolInfo::~CBC_SymbolInfo() = default;
const CBC_SymbolInfo* CBC_SymbolInfo::Lookup(size_t data_codewords,
bool allow_rectangular) { … }
int32_t CBC_SymbolInfo::GetHorizontalDataRegions() const { … }
int32_t CBC_SymbolInfo::GetVerticalDataRegions() const { … }
int32_t CBC_SymbolInfo::GetSymbolDataWidth() const { … }
int32_t CBC_SymbolInfo::GetSymbolDataHeight() const { … }
int32_t CBC_SymbolInfo::GetSymbolWidth() const { … }
int32_t CBC_SymbolInfo::GetSymbolHeight() const { … }
size_t CBC_SymbolInfo::GetInterleavedBlockCount() const { … }
size_t CBC_SymbolInfo::GetDataLengthForInterleavedBlock() const { … }
size_t CBC_SymbolInfo::GetErrorLengthForInterleavedBlock() const { … }