3 #include "reader_with_boolean_check_digit_config_base.hpp" 11 using namespace Internal;
34 isActiveOut = pConfig->ReadFromHandle(guard);
39 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override 41 CExports::cvbbool_t active;
42 CVB_CALL_CAPI(CvcBcGetCode128(reinterpret_cast<std::intptr_t>(guard.Handle()),
46 checkQuietzone_.Ptr(),
47 evalCheckDigit_.Ptr(),
48 transmitCheckDigit_.Ptr(),
51 return SmartBool(active);
54 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override 56 Internal::DoResCall([&]()
58 return CVB_CALL_CAPI(CvcBcSetCode128(reinterpret_cast<std::intptr_t>(guard.Handle()),
71 : ReaderWithBooleanCheckDigitConfigBase()
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
virtual Symbology Type() const override
Symbology of configuration object.
Definition: code128.hpp:22
Root namespace for the Image Manager interface.
Definition: version.hpp:11
Configuration to access parameters of Code128.
Definition: code128.hpp:17
Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase.
Definition: reader_with_boolean_check_digit_config_base.hpp:19
static std::unique_ptr< Code128 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: code128.hpp:31