CVB++ 14.0
ReaderEanUpcConfigBase Class Reference

Configuration to access parameters of ReaderEanUpcConfigBase. More...

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

Inherits ReaderWithQuietzoneConfigBase.

Inherited by Ean13, Ean8, UpcA, and UpcE.

Public Member Functions

void SetAppendix2Present (bool appendix2Present)
 Sets whether 2 character add-on code is present/not present. More...
 
bool Appendix2Present () const
 Returns whether 2 character add-on code is present/not present. More...
 
void SetAppendix5Present (bool appendix5Present)
 Sets whether 5 character add-on code present/not present. More...
 
bool Appendix5Present () const
 Returns whether 5 character add-on code present/not present. 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...
 

Detailed Description

Configuration to access parameters of ReaderEanUpcConfigBase.

Member Function Documentation

◆ Appendix2Present()

bool Appendix2Present ( ) const
inline

Returns whether 2 character add-on code is present/not present.

Returns
The existance of 2 character add-on code.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetAppendix2Present

◆ Appendix5Present()

bool Appendix5Present ( ) const
inline

Returns whether 5 character add-on code present/not present.

Returns
The existance of 5 character add-on code.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
SetAppendix5Present

◆ SetAppendix2Present()

void SetAppendix2Present ( bool  appendix2Present)
inline

Sets whether 2 character add-on code is present/not present.

Parameters
[in]appendix2PresentUse the parameters appendix2Present and appendix5Present to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to true, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to false, then only the EAN 13 is read and any add-on code which may be present is ignored.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
Appendix2Present

◆ SetAppendix5Present()

void SetAppendix5Present ( bool  appendix5Present)
inline

Sets whether 5 character add-on code present/not present.

Parameters
[in]appendix5PresentUse the parameters appendix2 and appendix5 to activate the reading of 2 and 5 position add-on codes. If one or both of these parameters are set to true, a corresponding add-on code must be present otherwise the code is not read. The 2 or 5 supplementary digits are appended to the code. If both parameters are set to false, then only the EAN 13 is read and any add-on code which may be present is ignored.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
Appendix5Present