3#include "reader_config_base.hpp"
11 using namespace Internal;
32 evalCheckDigit_ = evalCheckDigit;
43 return evalCheckDigit_;
79 if (orientation_ != orientation)
81 orientation_ = orientation;
104 if (quietzoneWidth < 2 || quietzoneWidth > 10)
106 if (quietzoneWidth_ !=
static_cast<short>(quietzoneWidth))
108 quietzoneWidth_ =
static_cast<short>(quietzoneWidth);
119 return quietzoneWidth_;
130 if (threshold < 0 || threshold > 100)
132 if (threshold_ !=
static_cast<short>(threshold))
134 threshold_ =
static_cast<short>(threshold);
158 transmitCheckDigit_ = transmitCheckDigit;
169 return transmitCheckDigit_;
174 SmartBool evalCheckDigit_;
177 short quietzoneWidth_;
179 SmartBool transmitCheckDigit_;
189 using ReaderPlanetPostnetConfigBase = Config::ReaderPlanetPostnetConfigBase;
Configuration to access parameters of ReaderConfigBase.
Definition: reader_config_base.hpp:20
Configuration to access parameters of ReaderPlanetPostnetConfigBase.
Definition: reader_planet_postnet_config_base.hpp:20
bool Mirrored() const
Returns whether the code is mirrored/not mirrored.
Definition: reader_planet_postnet_config_base.hpp:65
bool EvaluateCheckDigit() const
Returns the evaluate/ignore check digit.
Definition: reader_planet_postnet_config_base.hpp:41
CodeOrientation Orientation() const
Returns the orientation of the code in the image.
Definition: reader_planet_postnet_config_base.hpp:90
void SetMirrored(bool mirrored)
Sets whether the code is mirrored/not mirrored.
Definition: reader_planet_postnet_config_base.hpp:53
void SetTransmitCheckDigit(bool transmitCheckDigit)
Append/do not append check digit to data.
Definition: reader_planet_postnet_config_base.hpp:155
int QuietzoneWidth() const
Returns the quiet zone in module width. Possible values ranging from 2 to 10. Normally,...
Definition: reader_planet_postnet_config_base.hpp:117
void SetOrientation(CodeOrientation orientation)
Specifies the orientation of the code in the image.
Definition: reader_planet_postnet_config_base.hpp:77
void SetQuietzoneWidth(int quietzoneWidth)
Sets the quiet zone in module width. Possible values ranging from 2 to 10. Normally,...
Definition: reader_planet_postnet_config_base.hpp:102
void SetThreshold(int threshold)
Sets the threshold between bar and gap in the code.
Definition: reader_planet_postnet_config_base.hpp:128
int Threshold() const
Returns the threshold between bar and gap in the code.
Definition: reader_planet_postnet_config_base.hpp:143
bool TransmitCheckDigit() const
Returns whether to append check digit to data.
Definition: reader_planet_postnet_config_base.hpp:167
void SetEvaluateCheckDigit(bool evalCheckDigit)
Sets the evaluate/ignore check digit.
Definition: reader_planet_postnet_config_base.hpp:29
CodeOrientation
Directions that a four state code may have.
Definition: barcode.hpp:190
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24