read_result_1d.hpp
1 #pragma once
2 
3 #include "read_result.hpp"
4 #include "grade_result_1d.hpp"
5 
6 namespace Cvb
7 {
8  CVB_BEGIN_INLINE_NS
9 
10  namespace Barcode
11  {
12 
14 
19  : public ReadResult
20  {
21  public:
23 
26  ReadResult1D(CExports::CVC_BC_INFO& handle)
27  : ReadResult(handle)
28  , gradeResult_(nullptr)
29  {
30 
31  }
32 
34 
39  {
40  return gradeResult_;
41  }
42 
43  protected:
44  GradeResult1DPtr gradeResult_;
45 
46  friend class Reader;
47  };
48 
49  using ReadResult1DPtr = std::shared_ptr<ReadResult1D>;
50  }
51 
52  CVB_END_INLINE_NS
53 }
The key class for reading barcodes.
Definition: reader.hpp:31
Base class for reading decoded barcode results.
Definition: read_result.hpp:22
Root namespace for the Image Manager interface.
Definition: version.hpp:11
ReadResult1D(CExports::CVC_BC_INFO &handle)
Constructor to initialize object from info struct.
Definition: read_result_1d.hpp:26
Derived from ReadResult and gives specific access to 1D results.
Definition: read_result_1d.hpp:18
GradeResult1DPtr GradeResult() const
1D Code Grading Results.
Definition: read_result_1d.hpp:38