CVB++ 14.0
reader_ean_upc_config_base.hpp
1#pragma once
2
3#include "reader_with_quietzone_config_base.hpp"
4
5namespace Cvb
6{
7 CVB_BEGIN_INLINE_NS
8
9 namespace Barcode
10 {
11 using namespace Internal;
12
13 namespace Config
14 {
15
17
20 {
21 public:
22
24
29 void SetAppendix2Present(bool appendix2Present)
30 {
31 if (appendix2Present_ != appendix2Present)
32 SetDirty();
33 appendix2Present_ = appendix2Present;
34 }
35
37
42 bool Appendix2Present() const
43 {
44 return appendix2Present_;
45 }
46
47
49
54 void SetAppendix5Present(bool appendix5Present)
55 {
56 if (appendix5Present_ != appendix5Present)
57 SetDirty();
58 appendix5Present_ = appendix5Present;
59 }
60
62
67 bool Appendix5Present() const
68 {
69 return appendix5Present_;
70 }
71
72
73 protected:
74 SmartBool appendix2Present_;
75 SmartBool appendix5Present_;
76
77 protected:
80 {
81 }
82
83 };
84 }
85 using ReaderEanUpcConfigBase = Config::ReaderEanUpcConfigBase;
86 using ReaderEanUpcConfigBasePtr = std::shared_ptr<ReaderEanUpcConfigBase>;
87 }
88
89 CVB_END_INLINE_NS
90}
Configuration to access parameters of ReaderEanUpcConfigBase.
Definition: reader_ean_upc_config_base.hpp:20
void SetAppendix5Present(bool appendix5Present)
Sets whether 5 character add-on code present/not present.
Definition: reader_ean_upc_config_base.hpp:54
bool Appendix2Present() const
Returns whether 2 character add-on code is present/not present.
Definition: reader_ean_upc_config_base.hpp:42
bool Appendix5Present() const
Returns whether 5 character add-on code present/not present.
Definition: reader_ean_upc_config_base.hpp:67
void SetAppendix2Present(bool appendix2Present)
Sets whether 2 character add-on code is present/not present.
Definition: reader_ean_upc_config_base.hpp:29
Configuration to access parameters of ReaderWithQuietzoneConfigBase.
Definition: reader_with_quietzone_config_base.hpp:20
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24