CVB++ 14.0
Code32 Class Reference

Configuration to access parameters of Code32. More...

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

Inherits ReaderWithQuietzoneConfigBase.

Public Member Functions

void SetTransmitCheckDigit (bool transmitCheckDigit)
 Append/do not append check digit to data. More...
 
bool TransmitCheckDigit () const
 Returns the transmit check digit value. More...
 
void SetTransmitStartStop (bool transmitStartStop)
 Transmit/do not transmit start and stop digits with data. More...
 
bool TransmitStartStop () const
 Returns whether to transmit/not transmit start and stop digits with 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< Code32FromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
 Create object from handle. More...
 

Detailed Description

Configuration to access parameters of Code32.

Member Function Documentation

◆ FromHandle()

static std::unique_ptr< Code32 > 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.

◆ SetTransmitCheckDigit()

void SetTransmitCheckDigit ( bool  transmitCheckDigit)
inline

Append/do not append check digit to data.

Parameters
[in]transmitCheckDigitIf necessary, the parameter activates or deactivates transmission of a check digit. True activates transmission, false deactivates it.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
TransmitCheckDigit

◆ SetTransmitStartStop()

void SetTransmitStartStop ( bool  transmitStartStop)
inline

Transmit/do not transmit start and stop digits with data.

Parameters
[in]transmitStartStopIt activates or deactivates transmission of the start digit. True activates transmission, false deactivates it. The start digit for Code 32 is "A".
Exceptions
Anyexception derived from std::exception including CvbException.
See also
TransmitStartStop

◆ TransmitCheckDigit()

bool TransmitCheckDigit ( ) const
inline

Returns the transmit check digit value.

Returns
The return value tells whether it activates (true) or deactivates (false) transmission of a check digit.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetTransmitCheckDigit

◆ TransmitStartStop()

bool TransmitStartStop ( ) const
inline

Returns whether to transmit/not transmit start and stop digits with data.

Returns
The return value tells whether it activates (true) or deactivates (false) transmission of the start digit.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetTransmitStartStop