diff options
author | tsepez <tsepez@chromium.org> | 2016-05-02 13:47:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-02 13:47:17 -0700 |
commit | 6020e45b406e7a130024de87101b4493543f9deb (patch) | |
tree | e533401947212d7615a2504922caaaa7f450703a /xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h | |
parent | fbe14b97f00b866e69e0970881550f6d6d9465cd (diff) | |
download | pdfium-6020e45b406e7a130024de87101b4493543f9deb.tar.xz |
Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, part 11
Last part. Remove CFX_PtrArray typedef.
Review-Url: https://codereview.chromium.org/1941863002
Diffstat (limited to 'xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h')
-rw-r--r-- | xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h b/xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h index 29f0a833a9..0be71a1fb2 100644 --- a/xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h +++ b/xfa/fxbarcode/pdf417/BC_PDF417BarcodeValue.h @@ -9,10 +9,11 @@ #include "core/fxcrt/include/fx_basic.h" -class CBC_BarcodeValue { +class CBC_BarcodeValue final { public: CBC_BarcodeValue(); - virtual ~CBC_BarcodeValue(); + ~CBC_BarcodeValue(); + void setValue(int32_t value); CFX_Int32Array* getValue(); int32_t getConfidence(int32_t value); @@ -22,4 +23,7 @@ class CBC_BarcodeValue { CFX_Int32Array m_values; }; +using CBC_BarcodeValueArray = CFX_ArrayTemplate<CBC_BarcodeValue*>; +using CBC_BarcodeValueArrayArray = CFX_ArrayTemplate<CBC_BarcodeValueArray*>; + #endif // XFA_FXBARCODE_PDF417_BC_PDF417BARCODEVALUE_H_ |