CVB++ 15.0
UpcA Class Reference

Configuration to access parameters of UpcA. More...

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

Inherits ReaderEanUpcConfigBase.

Static Public Member Functions

static std::unique_ptr< UpcAFromHandle (const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
 Create object from handle. More...
 

Additional Inherited Members

- Public Member Functions inherited from ReaderEanUpcConfigBase
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 UpcA.

Member Function Documentation

◆ FromHandle()

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