CVB++ 14.0
grade_result_data_matrix.hpp
1#pragma once
2
3#include "grade_result_2d_base.hpp"
4
5namespace Cvb
6{
7 CVB_BEGIN_INLINE_NS
8
9 namespace Barcode
10 {
11
13
16 : public GradeResult2DBase
17 {
18 public:
20
23 GradeResultDataMatrix(CExports::CVC_BC_INFO& handle)
24 : GradeResult2DBase(handle)
25 {
26 }
27
28 GradeResultDataMatrix() = default;
29
30
32
36 double GradePrintGrowth() const
37 {
38 CheckHandlePointerAndThrow();
39 return handle_->grade_print_growth;
40 }
41
43
47 double PrintGrowth() const
48 {
49 CheckHandlePointerAndThrow();
50 return static_cast<double>(handle_->print_growth) / 100.0;
51 }
52
53 };
54
55 using GradeResultDataMatrixPtr = std::shared_ptr<GradeResultDataMatrix>;
56
57 }
58
59 CVB_END_INLINE_NS
60}
Object contains the barcode grading results for DataMatrix and PharmaCode2D barcodes.
Definition: grade_result_data_matrix.hpp:17
GradeResultDataMatrix(CExports::CVC_BC_INFO &handle)
Constructor to initialize object from info struct.
Definition: grade_result_data_matrix.hpp:23
double GradePrintGrowth() const
Grade of the print growth (ranging from 0 to 4).
Definition: grade_result_data_matrix.hpp:36
double PrintGrowth() const
This property contains the print growth.
Definition: grade_result_data_matrix.hpp:47
Configuration to access parameters of GradeResult2DBase.
Definition: grade_result_2d_base.hpp:19
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24