41 : m_versionNumber(versionNumber) {
42 m_ecBlocksArray[0] = std::make_unique<CBC_QRCoderECBlocks>(data[0]);
43 m_ecBlocksArray[1] = std::make_unique<CBC_QRCoderECBlocks>(data[1]);
44 m_ecBlocksArray[2] = std::make_unique<CBC_QRCoderECBlocks>(data[2]);
45 m_ecBlocksArray[3] = std::make_unique<CBC_QRCoderECBlocks>(data[3]);
46 m_totalCodeWords = m_ecBlocksArray[0]->GetTotalDataCodeWords();