3 #include "reader_ean_upc_config_base.hpp" 11 using namespace Internal;
32 isActiveOut = pConfig->ReadFromHandle(guard);
37 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override 39 CExports::cvbbool_t active;
40 CVB_CALL_CAPI(CvcBcGetEAN8(reinterpret_cast<std::intptr_t>(guard.Handle()),
42 checkQuietzone_.Ptr(),
43 appendix2Present_.Ptr(),
44 appendix5Present_.Ptr(),
47 return SmartBool(active);
50 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override 52 CVB_CALL_CAPI(CvcBcSetEAN8(reinterpret_cast<std::intptr_t>(guard.Handle()),
62 : ReaderEanUpcConfigBase()
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
Configuration to access parameters of Ean8.
Definition: ean8.hpp:16
Root namespace for the Image Manager interface.
Definition: version.hpp:11
virtual Symbology Type() const override
Symbology of configuration object.
Definition: ean8.hpp:20
Configuration to access parameters of ReaderEanUpcConfigBase.
Definition: reader_ean_upc_config_base.hpp:19
static std::unique_ptr< Ean8 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: ean8.hpp:29