CVB++ 14.0
MsiPlessey Class Reference

Configuration to access parameters of MsiPlessey. More...

#include <cvb/barcode/_detail/msi_plessey.hpp>

Inherits ReaderCommon1DConfigBase.

Public Member Functions

void SetCheckDigit (MsiPlesseyCheckDigit checkDigit)
 Evaluate/ignore check digit. More...
 
MsiPlesseyCheckDigit CheckDigit () const
 Returns whether to 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< MsiPlesseyFromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
 Create object from handle. More...
 

Detailed Description

Configuration to access parameters of MsiPlessey.

Member Function Documentation

◆ CheckDigit()

MsiPlesseyCheckDigit CheckDigit ( ) const
inline

Returns whether to evaluate/ignore check digit.

Returns
The return value tells whether it activates or deactivates the checking of any check digit which may be present.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetCheckQuietzone

◆ FromHandle()

static std::unique_ptr< MsiPlessey > FromHandle ( const HandleGuard< ReaderConfig > &  guard,
bool &  isActiveOut 
)
inlinestatic

Create object from handle.

Parameters
[in]guardHandle guard to read the configuration from.
[out]isActiveOutReturns the active state of the configuration in the handle.
Returns
unique pointer to object.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SetCheckDigit()

void SetCheckDigit ( MsiPlesseyCheckDigit  checkDigit)
inline

Evaluate/ignore check digit.

Parameters
[in]checkDigitIt activates or deactivates the checking of any check digit which may be present.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
CheckDigit