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

Configuration class for Micro QR codes. More...

#include <cvb/config.hpp>

Inherits QR.

Public Member Functions

bool Enabled () const
 Checks if decoding for MicroQR codes is enabled.
 
MicroQREnable ()
 Enables decoding for the MicroQR codes.
 
MicroQRDisable ()
 Disables decoding for MicroQR codes.
 
- Public Member Functions inherited from QR
QRSetPolarity (Polarity value)
 Sets polarity mode for decoding.
 
Config::Polarity Polarity () const
 Gets the currently configured polarity mode.
 
QRSetMirroringEnabled (bool value)
 Enables or disables mirroring based on the given value.
 
bool IsMirroringEnabled () const
 Check whether mirroring is enabled.
 
QRSetPreciseCornersEnabled (bool value)
 Enables or disables the calculation of more precise corner coordinates.
 
bool IsPreciseCornersEnabled () const
 Check whether the calculation of more precise corner coordinates is enabled.
 
- Public Member Functions inherited from ConfigBase< QR >
bool Enabled () const
 Checks if decoding for the code type represented by the derived class is enabled.
 
QREnable ()
 Enables decoding for the code type represented by the derived class.
 
QRDisable ()
 Disables decoding for the code type represented by the derived class.
 

Friends

class Cvb::CodeReader::Decoder
 

Detailed Description

Configuration class for Micro QR codes.

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

MicroQR & Enable()
Enables decoding for the MicroQR codes.
Definition detail_config_2d_codes.hpp:160
static std::unique_ptr< Decoder > Create()
Creates and returns a new Decoder instance.
Definition detail_decoder.hpp:22
@ MicroQR
Micro QR code.
Definition decl_config_base.hpp:52
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

◆ Disable()

MicroQR & Disable ( )
inline

Disables decoding for MicroQR codes.

Returns
A reference to the current configuration object for method chaining.

◆ Enable()

MicroQR & Enable ( )
inline

Enables decoding for the MicroQR codes.

Example:

decoder->Config<MicroQR>().Enable(); // Enables decoding for MicroQR codes
Returns
A reference to the current configuration object for method chaining.

◆ Enabled()

bool Enabled ( ) const
inline

Checks if decoding for MicroQR codes is enabled.

Returns
true if decoding is enabled, false otherwise.