Public Member Functions | Static Public Member Functions | List of all members
UpcE Class Reference

Configuration to access parameters of UpcE. More...

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

Inherits ReaderEanUpcConfigBase.

Public Member Functions

virtual Symbology Type () const override
 Symbology of configuration object. More...
 
- 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...
 
- Public Member Functions inherited from ConfigBase
virtual bool ReadFromHandle (const HandleGuard< ReaderConfig > &guard)
 Read configuration parameters from handle. More...
 
virtual void WriteToHandle (bool active, HandleGuard< ReaderConfig > &guard)
 Write configuration parameters into handle. More...
 

Static Public Member Functions

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

Detailed Description

Configuration to access parameters of UpcE.

Member Function Documentation

◆ FromHandle()

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

◆ Type()

virtual Symbology Type ( ) const
inlineoverridevirtual

Symbology of configuration object.

Returns
Symbology of configuration object.
Exceptions
Anyexception derived from std::exception including CvbException.
See also
ReadFromHandle

Implements ConfigBase.