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()
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
static std::unique_ptr< Discrete2of5 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: discrete_2_of_5.hpp:30
Root namespace for the Image Manager interface.
Definition: version.hpp:11
virtual Symbology Type() const override
Symbology of configuration object.
Definition: discrete_2_of_5.hpp:21
Configuration to access parameters of Discrete2of5.
Definition: discrete_2_of_5.hpp:16
Configuration to access parameters of ReaderWithBooleanCheckDigitConfigBase.
Definition: reader_with_boolean_check_digit_config_base.hpp:19