3#include "reader_with_boolean_check_digit_config_base.hpp"
11 using namespace Internal;
33 isActiveOut = pConfig->ReadFromHandle(guard);
38 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override
40 CExports::cvbbool_t active;
41 CVB_CALL_CAPI(CvcBcGet2of5Discrete(
reinterpret_cast<std::intptr_t>(guard.Handle()),
45 checkQuietzone_.Ptr(),
46 evalCheckDigit_.Ptr(),
47 transmitCheckDigit_.Ptr(),
50 return SmartBool(active);
53 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override
55 Internal::DoResCall([&]()
57 return CVB_CALL_CAPI(CvcBcSet2of5Discrete(
reinterpret_cast<std::intptr_t>(guard.Handle()),
70 : ReaderWithBooleanCheckDigitConfigBase()
Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase.
Definition: reader_with_boolean_check_digit_config_base.hpp:20
Configuration to access parameters of Discrete2of5.
Definition: discrete_2_of_5.hpp:17
static std::unique_ptr< Discrete2of5 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: discrete_2_of_5.hpp:30
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
@ Discrete2of5
2 of 5 Discrete Barcode
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24