Configuration to access parameters of Qr. More...
#include <cvb/barcode/_detail/qr.hpp>
Inherits Reader2DWithQuietzoneConfigBase.
Public Member Functions | |
void | SetMaxVersionMiniQr (int maxVersionMiniQR) |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions. More... | |
int | MaxVersionMiniQr () const |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions. More... | |
void | SetMaxVersionStandardQr (int maxVersionStandardQR) |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions. More... | |
int | MaxVersionStandardQr () const |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions. More... | |
void | SetMinVersionMiniQr (int minVersionMiniQR) |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions. More... | |
int | MinVersionMiniQr () const |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions. More... | |
void | SetMinVersionStandardQr (int minVersionStandardQR) |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions. More... | |
int | MinVersionStandardQr () const |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions. More... | |
void | SetSubTypes (QrSubType subTypes) |
Determine which varieties of QR codes to read. More... | |
QrSubType | SubTypes () const |
Returns which varieties of QR codes to read. More... | |
virtual Symbology | Type () const override |
Symbology of configuration object. More... | |
Public Member Functions inherited from Reader2DWithQuietzoneConfigBase | |
void | SetCheckQuietzone (bool checkQuietzone) |
Check/ignore quiet zone. More... | |
bool | CheckQuietzone () const |
Return whether to check/ignore quiet zone. More... | |
Public Member Functions inherited from Reader2DConfigBase | |
void | SetMirrored (bool mirrored) |
Sets whether the code is mirrored/not mirrored. More... | |
bool | Mirrored () const |
Returns whether the code is mirrored/not mirrored. 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... | |
Public Member Functions inherited from ConfigBase | |
virtual bool | ReadFromHandle (const HandleGuard< ReaderConfig > &guard) |
Read configuration parameters from handle. More... | |
virtual void | WriteToHandle (bool active, HandleGuard< ReaderConfig > &guard) |
Write configuration parameters into handle. More... | |
Static Public Member Functions | |
static std::unique_ptr< Qr > | FromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut) |
Create object from handle. More... | |
Protected Attributes | |
const short | MinVersionMiniQRLowest_ = 1 |
Lowest possible version for mini QR reading. | |
const short | MaxVersionMiniQRHighest_ = 4 |
Highest possible version for mini QR reading. | |
const short | MinVersionStandardQRLowest_ = 1 |
Lowest possible version for mini QR reading. | |
const short | MaxVersionStandardQRHighest_ = 40 |
Highest possible version for mini QR reading. | |
Configuration to access parameters of Qr.
|
inlinestatic |
Create object from handle.
[in] | guard | Handle guard to read the configuration from. |
[out] | isActiveOut | Returns the active state of the configuration in the handle. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions.
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions.
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions.
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions.
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions.
[in] | maxVersionMiniQR | The parameter for the limiting values minimum of versions M1 to M4 and maximum of versions M1 to M4 are used to limit the supported versions. If all values types should be decoded, the values are 1 and 4. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions.
[in] | maxVersionStandardQR | The parameter for the limiting values minimum of versions 1 to 40 and maximum of versions 1 to 40 are used to limit the supported versions. If all values types should be decoded, the values are 1 and 40. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for Mini-QR-code ranging from 1 to 4. The default value is 1 (min) to 4 (max) to decode all Mini-QR-Code-versions.
[in] | minVersionMiniQR | The parameter for the limiting values minimum of versions 1 to 4 and maximum of versions 1 to 4 are used to limit the supported versions. If all values types should be decoded, the values are 1 and 4. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Limiting values for standard-QR-code ranging from 1 to 40. The default value is 1 (min) to 40 (max) to decode all standard-QR-Code-versions.
[in] | minVersionStandardQR | The parameter for the limiting values minimum of versions 1 to 40 and maximum of versions 1 to 40 are used to limit the supported versions. If all values types should be decoded, the values are 1 and 40. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Determine which varieties of QR codes to read.
[in] | subTypes | Determine which varieties of QR codes to read. |
Any | exception derived from std::exception including CvbException. |
|
inline |
Returns which varieties of QR codes to read.
Any | exception derived from std::exception including CvbException. |
|
inlineoverridevirtual |
Symbology of configuration object.
Any | exception derived from std::exception including CvbException. |
Implements ConfigBase.