3#include "reader_with_boolean_check_digit_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(CvcBcGet2of5Interleaved(
reinterpret_cast<std::intptr_t>(guard.Handle()),
44 checkQuietzone_.Ptr(),
45 evalCheckDigit_.Ptr(),
46 transmitCheckDigit_.Ptr(),
49 return SmartBool(active);
52 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
54 Internal::DoResCall([&]()
56 return CVB_CALL_CAPI(CvcBcSet2of5Interleaved(
reinterpret_cast<std::intptr_t>(guard.Handle()),
69 : ReaderWithBooleanCheckDigitConfigBase()
71 absoluteMinDigits_ = 2;
Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase.
Definition: reader_with_boolean_check_digit_config_base.hpp:20
Configuration to access parameters of Interleaved2of5.
Definition: interleaved_2_of_5.hpp:17
static std::unique_ptr< Interleaved2of5 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: interleaved_2_of_5.hpp:29
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
@ Interleaved2of5
2 of 5 Interleaved Barcode
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24