OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _BC_EDTECTIONRESULT_H_ | 7 #ifndef _BC_EDTECTIONRESULT_H_ |
8 #define _BC_EDTECTIONRESULT_H_ | 8 #define _BC_EDTECTIONRESULT_H_ |
9 class CBC_BarcodeMetadata; | 9 class CBC_BarcodeMetadata; |
10 class CBC_BoundingBox; | 10 class CBC_BoundingBox; |
11 class CBC_Codeword; | 11 class CBC_Codeword; |
12 class CBC_DetectionResultColumn; | 12 class CBC_DetectionResultColumn; |
13 class CBC_DetectionResult; | 13 class CBC_DetectionResult |
14 class CBC_DetectionResult : public CFX_Object | |
15 { | 14 { |
16 public: | 15 public: |
17 CBC_DetectionResult(CBC_BarcodeMetadata* barcodeMetadata, CBC_BoundingBox* b
oundingBox); | 16 CBC_DetectionResult(CBC_BarcodeMetadata* barcodeMetadata, CBC_BoundingBox* b
oundingBox); |
18 virtual ~CBC_DetectionResult(); | 17 virtual ~CBC_DetectionResult(); |
19 CFX_PtrArray& getDetectionResultColumns(); | 18 CFX_PtrArray& getDetectionResultColumns(); |
20 void setBoundingBox(CBC_BoundingBox* boundingBox); | 19 void setBoundingBox(CBC_BoundingBox* boundingBox); |
21 CBC_BoundingBox* getBoundingBox(); | 20 CBC_BoundingBox* getBoundingBox(); |
22 void setDetectionResultColumn(FX_INT32 barcodeColumn, CBC_DetectionResultCol
umn* detectionResultColumn); | 21 void setDetectionResultColumn(FX_INT32 barcodeColumn, CBC_DetectionResultCol
umn* detectionResultColumn); |
23 CBC_DetectionResultColumn* getDetectionResultColumn(FX_INT32 barcodeColumn); | 22 CBC_DetectionResultColumn* getDetectionResultColumn(FX_INT32 barcodeColumn); |
24 CFX_ByteString toString(); | 23 CFX_ByteString toString(); |
(...skipping 14 matching lines...) Expand all Loading... |
39 FX_INT32 adjustRowNumbersFromBothRI(); | 38 FX_INT32 adjustRowNumbersFromBothRI(); |
40 FX_INT32 adjustRowNumbersFromRRI(); | 39 FX_INT32 adjustRowNumbersFromRRI(); |
41 FX_INT32 adjustRowNumbersFromLRI(); | 40 FX_INT32 adjustRowNumbersFromLRI(); |
42 static FX_INT32 adjustRowNumberIfValid(FX_INT32 rowIndicatorRowNumber, FX_IN
T32 invalidRowCounts, CBC_Codeword* codeword); | 41 static FX_INT32 adjustRowNumberIfValid(FX_INT32 rowIndicatorRowNumber, FX_IN
T32 invalidRowCounts, CBC_Codeword* codeword); |
43 void adjustRowNumbers(FX_INT32 barcodeColumn, FX_INT32 codewordsRow, CFX_Ptr
Array* codewords); | 42 void adjustRowNumbers(FX_INT32 barcodeColumn, FX_INT32 codewordsRow, CFX_Ptr
Array* codewords); |
44 static FX_BOOL adjustRowNumber(CBC_Codeword* codeword, CBC_Codeword* otherCo
deword); | 43 static FX_BOOL adjustRowNumber(CBC_Codeword* codeword, CBC_Codeword* otherCo
deword); |
45 | 44 |
46 | 45 |
47 }; | 46 }; |
48 #endif | 47 #endif |
OLD | NEW |