3 #include "reader_2d_with_quietzone_config_base.hpp" 11 using namespace Internal;
29 if(orientation_ != orientation)
31 orientation_ = orientation;
63 isActiveOut = pConfig->ReadFromHandle(guard);
68 virtual bool ReadFromHandle_(
const HandleGuard<ReaderConfig>& guard)
override 70 CExports::cvbbool_t active;
72 CVB_CALL_CAPI(CvcBcGetMicroPDF417(reinterpret_cast<std::intptr_t>(guard.Handle()),
79 orientation_ = static_cast<CodeOrientation>(tmpOrientation);
80 return SmartBool(active);
83 virtual void WriteToHandle_(
bool active, HandleGuard<ReaderConfig>& guard)
override 85 Internal::DoResCall([&]()
87 return CVB_CALL_CAPI(CvcBcSetMicroPDF417(reinterpret_cast<std::intptr_t>(guard.Handle()),
89 static_cast<short>(orientation_),
97 : Reader2DWithQuietzoneConfigBase()
Micro PDF417 Matrix Code.
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:96
CodeOrientation
Directions that a four state code may have.
Definition: barcode.hpp:189
virtual Symbology Type() const override
Symbology of configuration object.
Definition: micro_pdf417.hpp:51
Root namespace for the Image Manager interface.
Definition: version.hpp:11
Configuration to access parameters of Reader2DWithQuietzoneConfigBase.
Definition: reader_2d_with_quietzone_config_base.hpp:18
static std::unique_ptr< MicroPdf417 > FromHandle(const HandleGuard< ReaderConfig > &guard, bool &isActiveOut)
Create object from handle.
Definition: micro_pdf417.hpp:60
void SetOrientation(CodeOrientation orientation)
Specifies the orientation of the code in the image.
Definition: micro_pdf417.hpp:27
CodeOrientation Orientation() const
Returns the orientation of the code in the image.
Definition: micro_pdf417.hpp:40
Configuration to access parameters of MicroPdf417.
Definition: micro_pdf417.hpp:16