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()
Configuration to access parameters of Code128.
Definition: code128.hpp:18
static std::unique_ptr< Code128 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: code128.hpp:31
Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase.
Definition: reader_with_boolean_check_digit_config_base.hpp:20
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
@ Code128
Code 128 Barcode.
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24