read_result_code128.hpp
1 #pragma once
2 
3 #include "read_result_1d.hpp"
4 
5 
6 namespace Cvb
7 {
8  CVB_BEGIN_INLINE_NS
9 
10  namespace Barcode
11  {
12 
14 
18  : public ReadResult1D
19  {
20  public:
22 
25  ReadResultCode128(CExports::CVC_BC_INFO& handle)
26  : ReadResult1D(handle)
27  {
28 
29  }
30 
32 
37  {
38  return static_cast<Code128SubType>(handle_.fnc1);
39  }
40 
41  };
42 
43  using ReadResultCode128Ptr = std::shared_ptr<ReadResultCode128>;
44  }
45 
46  CVB_END_INLINE_NS
47 }
STL class.
ReadResultCode128(CExports::CVC_BC_INFO &handle)
Constructor to initialize object from info struct.
Definition: read_result_code128.hpp:25
Code128SubType SubType() const
Special flag used with the Code 128.
Definition: read_result_code128.hpp:36
Root namespace for the Image Manager interface.
Definition: version.hpp:11
Code128SubType
Possible sub types of Code128.
Definition: barcode.hpp:488
Derived from ReadResult and gives specific access to 1D results.
Definition: read_result_1d.hpp:18
Derived from ReadResult and gives specific access to Code128 results.
Definition: read_result_code128.hpp:17