3#include "../../_cexports/c_code_reader.h"
4#include "detail_decoder.hpp"
14#pragma region ConfigBase
18 return SetIntProperty(
static_cast<int>(ReverseMapper<T>().type), 1);
24 return SetIntProperty(
static_cast<int>(ReverseMapper<T>().type), 0);
30 return static_cast<bool>(GetIntProperty(
static_cast<int>(ReverseMapper<T>().type)));
34 T &ConfigBase<T>::SetIntProperty(
int property,
int value)
36 CVB_CALL_CAPI_CHECKED(CVCRSetPropertyInt(decoder_.Handle(), property, value));
37 return static_cast<T &
>(*this);
41 int ConfigBase<T>::GetIntProperty(
int property)
const
44 CVB_CALL_CAPI_CHECKED(CVCRGetPropertyInt(decoder_.Handle(), property, value));
49#pragma region CompositeCodeBase
53 return this->GetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCA));
59 return this->SetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCA), 1);
65 return this->SetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCA), 0);
71 return this->GetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCB));
77 return this->SetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCB), 1);
83 return this->SetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCB), 0);
89 return this->GetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCC));
95 return this->SetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCC), 1);
101 return this->SetIntProperty(
static_cast<int>(CExports::CVCRSymbologies::CVCRS_CCC), 0);
bool EnabledCCC() const
Checks if CompositeComponent C (CC-C) decoding is enabled.
Definition detail_config_base.hpp:87
virtual T & EnableCCB()
Enables CompositeComponent B (CC-B) decoding.
Definition detail_config_base.hpp:75
virtual T & DisableCCB()
Disables CompositeComponent B (CC-B) decoding.
Definition detail_config_base.hpp:81
virtual T & EnableCCA()
Enables CompositeComponent A (CC-A) decoding.
Definition detail_config_base.hpp:57
virtual T & DisableCCA()
Disables CompositeComponent A (CC-A) decoding.
Definition detail_config_base.hpp:63
bool EnabledCCA() const
Checks if CompositeComponent A (CC-A) decoding is enabled.
Definition detail_config_base.hpp:51
virtual T & EnableCCC()
Enables CompositeComponent C (CC-C) decoding.
Definition detail_config_base.hpp:93
virtual T & DisableCCC()
Disables CompositeComponent C (CC-C) decoding.
Definition detail_config_base.hpp:99
bool EnabledCCB() const
Checks if CompositeComponent B (CC-B) decoding is enabled.
Definition detail_config_base.hpp:69
T & Enable()
Enables decoding for the code type represented by the derived class.
Definition detail_config_base.hpp:16
T & Disable()
Disables decoding for the code type represented by the derived class.
Definition detail_config_base.hpp:22
bool Enabled() const
Checks if decoding for the code type represented by the derived class is enabled.
Definition detail_config_base.hpp:28
This namespace contains the configuration classes for all supported codes.
Definition decl_config_2d_codes.hpp:14
Namespace for all decoding functionalities.
Definition decl_config_2d_codes.hpp:10
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17