3#include <unordered_map>
5#include "../../_cexports/c_code_reader.h"
137 void SetSupplemental(
int propertySupplemental2,
int propertySupplemental5,
int propertyRequired,
138 int propertyAddSpace,
SupplementalCode supplement,
bool required,
bool addSpace);
201 UpcA(Decoder &decoder) noexcept
307 UpcE(Decoder &decoder) noexcept
369 Ean8(Decoder &decoder) noexcept
443 Ean13(Decoder &decoder) noexcept
Base configuration class for composite codes.
Definition decl_config_base.hpp:289
Configuration class for EAN-13 barcodes.
Definition decl_config_upc_ean_codes.hpp:406
bool ConvertedFromBooklandToISSN() const
Determines whether conversion from Bookland to ISSN is enabled or disabled.
Definition detail_config_upc_ean_codes.hpp:359
Ean13 & SetStripCheckDigit(bool value) override
Enables or disables the removal of the check digit from read codes.
Definition detail_config_upc_ean_codes.hpp:328
Ean13 & SetConvertBooklandToISBN(bool value)
Enables or disables conversion from Bookland to ISBN.
Definition detail_config_upc_ean_codes.hpp:339
SupplementalCode Supplemental() const override
Retrieves the current configuration of the supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:321
bool ConvertedFromBooklandToISBN() const
Determines whether conversion from Bookland to ISBN is enabled or disabled.
Definition detail_config_upc_ean_codes.hpp:346
bool StripCheckDigit() const override
Determines whether check digit removal is enabled.
Definition detail_config_upc_ean_codes.hpp:334
Ean13 & SetConvertBooklandToISSN(bool value)
Enables or disables conversion from Bookland to ISSN.
Definition detail_config_upc_ean_codes.hpp:352
Ean13 & SetSupplemental(SupplementalCode supplement, bool required=false, bool addSpace=true) override
Configures supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:310
Configuration class for EAN-8 barcodes.
Definition decl_config_upc_ean_codes.hpp:344
Ean8 & SetSupplemental(SupplementalCode supplement, bool required=false, bool addSpace=true) override
Configures supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:267
Ean8 & SetStripCheckDigit(bool value) override
Enables or disables the removal of the check digit from read codes.
Definition detail_config_upc_ean_codes.hpp:285
bool ConvertedToEAN13() const
Determines whether the conversion of EAN-8 codes to EAN-13 format is enabled or disabled.
Definition detail_config_upc_ean_codes.hpp:302
SupplementalCode Supplemental() const override
Retrieves the current configuration of the supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:278
Ean8 & SetConvertToEAN13(bool value)
Enables or disables the conversion of EAN-8 codes to EAN-13 format in the decoded data.
Definition detail_config_upc_ean_codes.hpp:296
bool StripCheckDigit() const override
Determines whether check digit removal is enabled.
Definition detail_config_upc_ean_codes.hpp:291
Configuration class for UPC-A barcodes.
Definition decl_config_upc_ean_codes.hpp:160
bool StripNumberSystemDigit() const
Determines whether UPC-A Number System digit removal is enabled.
Definition detail_config_upc_ean_codes.hpp:165
UpcA & SetConvertToEAN13(bool value)
Enables or disables the conversion of 12-digit UPC-A codes to 13-digit EAN-13 format in the decoded d...
Definition detail_config_upc_ean_codes.hpp:171
UpcA & SetStripNumberSystemDigit(bool value)
Enables or disables the removal of the UPC-A Number System digit from read codes.
Definition detail_config_upc_ean_codes.hpp:159
bool ConvertedToEAN13() const
Determines whether the conversion of 12-digit UPC-A codes to 13-digit EAN-13 format is enabled or dis...
Definition detail_config_upc_ean_codes.hpp:179
SupplementalCode Supplemental() const override
Retrieves the current configuration of the supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:141
UpcA & SetSupplemental(SupplementalCode supplement, bool required=false, bool addSpace=true) override
Configures supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:130
bool StripCheckDigit() const override
Determines whether check digit removal is enabled.
Definition detail_config_upc_ean_codes.hpp:154
UpcA & SetStripCheckDigit(bool value) override
Enables or disables the removal of the check digit from read codes.
Definition detail_config_upc_ean_codes.hpp:148
Configuration class for UPC-E barcodes.
Definition decl_config_upc_ean_codes.hpp:239
UpcE & SetEnableUpcE1(bool value)
Enables or disables UPC-E1 decoding.
Definition detail_config_upc_ean_codes.hpp:234
UpcE & SetRejectMisreadCode(bool value)
Configures handling of damaged UPCE-A and EAN-13 codes.
Definition detail_config_upc_ean_codes.hpp:252
UpcE & SetSupplemental(SupplementalCode supplement, bool required=false, bool addSpace=true) override
Configures supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:187
bool StripNumberSystemDigit() const
Determines whether UPC-E Number System digit removal is enabled.
Definition detail_config_upc_ean_codes.hpp:222
bool EnabledUpcE1() const
Checks if UPC-E1 decoding is enabled.
Definition detail_config_upc_ean_codes.hpp:228
UpcE & SetStripCheckDigit(bool value) override
Enables or disables the removal of the check digit from read codes.
Definition detail_config_upc_ean_codes.hpp:205
UpcE & SetEnableUpcEExpansion(bool value)
Enables or disables the expansion of detected UPC-E codes to the UPC-A format.
Definition detail_config_upc_ean_codes.hpp:246
SupplementalCode Supplemental() const override
Retrieves the current configuration of the supplemental code decoding.
Definition detail_config_upc_ean_codes.hpp:198
bool StripCheckDigit() const override
Determines whether check digit removal is enabled.
Definition detail_config_upc_ean_codes.hpp:211
bool EnabledUpcEExpansion() const
Determines if the expansion of detected UPC-E codes to the UPC-A format is enabled.
Definition detail_config_upc_ean_codes.hpp:240
UpcE & SetStripNumberSystemDigit(bool value)
Enables or disables the removal of the UPC-E Number System digit from read codes.
Definition detail_config_upc_ean_codes.hpp:216
bool RejectMisreadCode() const
Determines whether damaged UPC-A or EAN-13 barcodes are rejected.
Definition detail_config_upc_ean_codes.hpp:258
Base configuration class for UPC-A, UPC-E, EAN-8, and EAN-13 barcodes.
Definition decl_config_upc_ean_codes.hpp:48
virtual T & SetSupplemental(SupplementalCode supplement, bool required=false, bool addSpace=true)=0
Configures supplemental code decoding.
virtual T & DisableCCA() override
Disables Composite Component A (CC-A) decoding.
Definition detail_config_upc_ean_codes.hpp:23
virtual T & DisableCCB() override
Disables Composite Component B (CC-B) decoding.
Definition detail_config_upc_ean_codes.hpp:39
virtual T & EnableCCA() override
Enables Composite Component A (CC-A) decoding.
Definition detail_config_upc_ean_codes.hpp:15
virtual T & EnableCCB() override
Enables Composite Component B (CC-B) decoding.
Definition detail_config_upc_ean_codes.hpp:31
virtual T & SetStripCheckDigit(bool value)=0
Enables or disables the removal of the check digit from read codes.
virtual T & EnableCCC() override
Enables Composite Component C (CC-C) decoding.
Definition detail_config_upc_ean_codes.hpp:47
virtual T & DisableCCC() override
Disables Composite Component C (CC-C) decoding.
Definition detail_config_upc_ean_codes.hpp:55
virtual SupplementalCode Supplemental() const =0
Retrieves the current configuration of the supplemental code decoding.
virtual bool StripCheckDigit() const =0
Determines whether check digit removal is enabled.
Class for decoding.
Definition decl_decoder.hpp:101
This namespace contains the configuration classes for all supported codes.
Definition decl_config_2d_codes.hpp:14
SupplementalCode
Enum class for configuring supplemental code decoding for UpcA, UpcE, Ean8 and Ean13 codes.
Definition decl_config_upc_ean_codes.hpp:19
@ Supplement2digits
Enables decoding of 2-digit supplemental codes.
Definition decl_config_upc_ean_codes.hpp:23
@ SupplementAll
Enables decoding of both 2-digit and 5-digit supplemental codes.
Definition decl_config_upc_ean_codes.hpp:27
@ Supplement5digits
Enables decoding of 5-digit supplemental codes.
Definition decl_config_upc_ean_codes.hpp:25
@ None
Definition decl_config_base.hpp:197
Namespace for all decoding functionalities.
Definition decl_config_2d_codes.hpp:10
Symbology
Enum class listing all supported symbologies.
Definition decl_config_base.hpp:35
@ Ean13
EAN-13.
Definition decl_config_base.hpp:57
@ UpcA
UPC-A.
Definition decl_config_base.hpp:67
@ Ean8
EAN-8.
Definition decl_config_base.hpp:62
@ UpcE
UPC-E.
Definition decl_config_base.hpp:72
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17