CVB++ 15.0
detail_config_postal_codes.hpp
1#pragma once
2
3#include "../../_cexports/c_code_reader.h"
4#include "../_decl/decl_config_postal_codes.hpp"
5
6namespace Cvb
7{
8 CVB_BEGIN_INLINE_NS
9
10 namespace CodeReader
11 {
12 namespace Config
13 {
14 inline AustraliaPost &AustraliaPost::SetStripCheckCharactersEnabled(bool value)
15 {
16 return SetIntProperty(
17 static_cast<int>(CExports::CVCRSymbologyPropertiesAustraliaPost::CVCRSPAP_StripCheckChars),
18 static_cast<int>(value));
19 }
20
22 {
23 return static_cast<bool>(
24 GetIntProperty(static_cast<int>(CExports::CVCRSymbologyPropertiesAustraliaPost::CVCRSPAP_StripCheckChars)));
25 }
26
27 inline RoyalMail &RoyalMail::SetSendCheckCharacterEnabled(bool value)
28 {
29 return SetIntProperty(static_cast<int>(CExports::CVCRSymbologyPropertiesRoyalMail::CVCRSPRM_SendCheckChar),
30 static_cast<int>(value));
31 }
32
34 {
35 return static_cast<bool>(
36 GetIntProperty(static_cast<int>(CExports::CVCRSymbologyPropertiesRoyalMail::CVCRSPRM_SendCheckChar)));
37 }
38 } // namespace Config
39 } // namespace CodeReader
40
41 CVB_END_INLINE_NS
42} // namespace Cvb
bool IsStripCheckCharactersEnabled() const
Checks whether the removal of check characters from decoded data is enabled.
Definition detail_config_postal_codes.hpp:21
AustraliaPost & SetStripCheckCharactersEnabled(bool value)
Enables or disables the removal of check characters from decoded data.
Definition detail_config_postal_codes.hpp:14
RoyalMail & SetSendCheckCharacterEnabled(bool value)
Enables or disables adding check character to decoded data.
Definition detail_config_postal_codes.hpp:27
bool IsSendCheckCharacterEnabled() const
Checks whether adding check character to decoded data is enabled.
Definition detail_config_postal_codes.hpp:33
This namespace contains the configuration classes for all supported codes.
Definition decl_config_2d_codes.hpp:14
Namespace for all decoding functionalities.
Definition decl_config_2d_codes.hpp:10
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17