Configuration to access parameters of SonyCode. More...
#include <cvb/barcode/_detail/sony_code.hpp>
Inherits ReaderWithTransmitStartStopConfigBase.
Public Member Functions | |
void | SetInterpretCode (bool interpret) |
Check/ignore full description of SonyCode. More... | |
bool | InterpretCode () const |
Returns whether to check/ignore full description of SonyCode. More... | |
Public Member Functions inherited from ReaderWithTransmitStartStopConfigBase | |
void | SetTransmitStartStop (SmartBool transmitStartStop) |
Sets whether to transmit/do not transmit start and stop digits with data. More... | |
SmartBool | TransmitStartStop () const |
Returns whether to transmit/do not transmit start and stop digits with data. More... | |
Public Member Functions inherited from ReaderWithBooleanCheckDigitConfigBase | |
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... | |
Static Public Member Functions | |
static std::unique_ptr< SonyCode > | FromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut) |
Create object from handle. More... | |
Configuration to access parameters of SonyCode.
|
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 |
Returns whether to check/ignore full description of SonyCode.
Any | exception derived from std::exception including CvbException. |
|
inline |
Check/ignore full description of SonyCode.
[in] | interpret | True interprets the SonyCode following the description. If this translation fails, it throws an exception. For (interpret = false) the code is decoded without interpretation. Details see in the specification of the SonyCode. |
Any | exception derived from std::exception including CvbException. |