Configuration class for Code 11 barcodes. More...
#include <cvb/config.hpp>
Inherits ConfigBase< Code11 >.
Public Member Functions | |
Code11 & | SetChecksumEnabled (Code11ChecksumDigits numDigits, bool strip=false) |
Configures checksum for decoding. | |
std::pair< Code11ChecksumDigits, bool > | IsChecksumEnabled () const |
Gets current checksum configuration. | |
![]() | |
bool | Enabled () const |
Checks if decoding for the code type represented by the derived class is enabled. | |
Code11 & | Enable () |
Enables decoding for the code type represented by the derived class. | |
Code11 & | Disable () |
Disables decoding for the code type represented by the derived class. | |
Friends | |
class | Cvb::CodeReader::Decoder |
Configuration class for Code 11 barcodes.
Use this class to configure decoding options for Code 11 barcodes. To access the configuration and enable decoding Code 11 barcodes, use the following example. For additional details on configuration, refer to the documentation for Decoder::Config().
|
inline |
Gets current checksum configuration.
|
inline |
Configures checksum for decoding.
numDigits | Value for checksum configuration. |
strip | Set to true to enable removing checksum character(s) in decoded data. |