CVB++ 14.0
ReaderWithBooleanCheckDigitConfigBase Class Reference

Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase. More...

#include <cvb/barcode/_detail/reader_with_boolean_check_digit_config_base.hpp>

Inherits ReaderCommon1DConfigBase.

Inherited by Code128, ReaderWithTransmitStartStopConfigBase, Discrete2of5, and Interleaved2of5.

Public Member Functions

void SetEvaluateCheckDigit (bool evalCheckDigit)
 Sets the evaluate/ignore check digit. More...
 
bool EvaluateCheckDigit () const
 Returns the evaluate/ignore check digit. More...
 
- Public Member Functions inherited from ReaderCommon1DConfigBase
virtual int AbsoluteMaxDigits () const
 Absolute maximum number of digits. More...
 
virtual int AbsoluteMinDigits () const
 Absolute minimum number digits. More...
 
virtual void SetMinDigits (int minDigits)
 
virtual int MinDigits () const
 Returns the minimum number of Codabar code words. More...
 
virtual void SetMaxDigits (int maxDigits)
 Sets the maximum number of Codabar code words. More...
 
virtual int MaxDigits () const
 Returns the maximum number of Codabar code words. More...
 
virtual void SetTransmitCheckDigit (bool transmitCheckDigit)
 Append/do not append check digit to data. More...
 
virtual bool TransmitCheckDigit () const
 Returns whether to append check digit to data. More...
 
- Public Member Functions inherited from ReaderWithQuietzoneConfigBase
void SetCheckQuietzone (bool checkQuietzone)
 Sets whether to check/ignore quiet zone. More...
 
bool CheckQuietzone () const
 Returns whether to check/ignore quiet zone. More...
 
- Public Member Functions inherited from ReaderConfigBase
void SetInverse (bool inverse)
 Code is inverted (white on black)/not inverted. More...
 
bool Inverse () const
 Returns whether the code is inverted (white on black) or not. More...
 

Detailed Description

Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase.

Member Function Documentation

◆ EvaluateCheckDigit()

bool EvaluateCheckDigit ( ) const
inline

Returns the evaluate/ignore check digit.

Returns
The check digit.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetEvaluateCheckDigit

◆ SetEvaluateCheckDigit()

void SetEvaluateCheckDigit ( bool  evalCheckDigit)
inline

Sets the evaluate/ignore check digit.

Parameters
[in]evalCheckDigitIt activates or deactivates the checking of any check digit which may be present. Specifying true activates checking; specifying false deactivates checking.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
EvaluateCheckDigit