Index: xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h |
diff --git a/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h b/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h |
index 039255268fbab136999afc2ff521b2092795d177..782e5ed31904a0b86ad679860d020ee03de3ad29 100644 |
--- a/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h |
+++ b/xfa/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h |
@@ -11,22 +11,23 @@ |
class CBC_DataMatrixVersion; |
-class CBC_DataMatrixDataBlock { |
+class CBC_DataMatrixDataBlock final { |
public: |
- virtual ~CBC_DataMatrixDataBlock(); |
+ ~CBC_DataMatrixDataBlock(); |
int32_t GetNumDataCodewords(); |
CFX_ByteArray* GetCodewords(); |
- static CFX_PtrArray* GetDataBlocks(CFX_ByteArray* rawCodewords, |
- CBC_DataMatrixVersion* version, |
- int32_t& e); |
+ static CFX_ArrayTemplate<CBC_DataMatrixDataBlock*>* GetDataBlocks( |
+ CFX_ByteArray* rawCodewords, |
+ CBC_DataMatrixVersion* version, |
+ int32_t& e); |
private: |
+ CBC_DataMatrixDataBlock(int32_t numDataCodewords, CFX_ByteArray* codewords); |
+ |
int32_t m_numDataCodewords; |
CFX_ByteArray m_codewords; |
- |
- CBC_DataMatrixDataBlock(int32_t numDataCodewords, CFX_ByteArray* codewords); |
}; |
#endif // XFA_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDATABLOCK_H_ |