3 #include "reader_ean_upc_config_base.hpp" 11 using namespace Internal;
31 isActiveOut = pConfig->ReadFromHandle(guard);
36 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override 38 CExports::cvbbool_t active;
39 CVB_CALL_CAPI(CvcBcGetUPCE(reinterpret_cast<std::intptr_t>(guard.Handle()),
41 checkQuietzone_.Ptr(),
42 appendix2Present_.Ptr(),
43 appendix5Present_.Ptr(),
46 return SmartBool(active);
49 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override 51 CVB_CALL_CAPI(CvcBcSetUPCE(reinterpret_cast<std::intptr_t>(guard.Handle()),
61 : ReaderEanUpcConfigBase()
static std::unique_ptr< UpcE > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: upc_e.hpp:28
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
Configuration to access parameters of UpcE.
Definition: upc_e.hpp:16
Root namespace for the Image Manager interface.
Definition: version.hpp:11
virtual Symbology Type() const override
Symbology of configuration object.
Definition: upc_e.hpp:19
Configuration to access parameters of ReaderEanUpcConfigBase.
Definition: reader_ean_upc_config_base.hpp:19