CVB++ 15.0
Loading...
Searching...
No Matches
Code93 Class Referencefinal

Configuration class for Code 93 barcodes. More...

#include <cvb/config.hpp>

Inherits ConfigBase< Code93 >.

Public Member Functions

Code93SetMinDataLength (int length)
 Sets the minimum data length.
 
int MinDataLength () const
 Gets the minimum data length.
 
Code93SetMaxDataLength (int length)
 Sets the maximum data length.
 
int MaxDataLength () const
 Gets the maximum data length.
 
- Public Member Functions inherited from ConfigBase< Code93 >
bool Enabled () const
 Checks if decoding for the code type represented by the derived class is enabled.
 
Code93Enable ()
 Enables decoding for the code type represented by the derived class.
 
Code93Disable ()
 Disables decoding for the code type represented by the derived class.
 

Friends

class Cvb::CodeReader::Decoder
 

Detailed Description

Configuration class for Code 93 barcodes.

Use this class to configure decoding options for Code 93 barcodes. To access the configuration and enable decoding Code 93 barcodes, use the following example. For additional details on configuration, refer to the documentation for Decoder::Config().

Code93 & Enable()
Definition detail_config_base.hpp:16
static std::unique_ptr< Decoder > Create()
Creates and returns a new Decoder instance.
Definition detail_decoder.hpp:22
@ Code93
Code 93.
Definition decl_config_base.hpp:87
Note
A more comprehensive code example demonstrating configuration in a broader context, as well as the decoding process, can be found here.

Member Function Documentation

◆ MaxDataLength()

int MaxDataLength ( ) const
inline

Gets the maximum data length.

See function Code93::SetMaxDataLength() for details.

Returns
Number of characters of the longest decoded string.

◆ MinDataLength()

int MinDataLength ( ) const
inline

Gets the minimum data length.

Returns
Number of characters of the shortest decoded string.

◆ SetMaxDataLength()

Code93 & SetMaxDataLength ( int length)
inline

Sets the maximum data length.

The default value is 0 for no checking.

Parameters
lengthNumber of characters of the longest decoded string, up to 120.
Returns
A reference to the current Code93 object for method chaining.

◆ SetMinDataLength()

Code93 & SetMinDataLength ( int length)
inline

Sets the minimum data length.

Parameters
lengthNumber of characters of the shortest decoded string.
Returns
A reference to the current Code93 object for method chaining.