7#ifndef CBARCODECONTEXT_INTERFACE_H
9#define CBARCODECONTEXT_INTERFACE_H
Interface for ArrayDefinitions wrapper.
BarcodeType
Barcode types recognized by iDRS SDK.
Definition BarcodeType_interface.h:20
BarcodeEncodingArray CBarcodeContext_GetDetectedEncodings(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Get the array of barcode encodings to detect.
void CBarcodeContext_Destroy(CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Destroys a CBarcodeContext handle.
void CBarcodeContext_SetMinimumSymbolsLength(CBarcodeContext argCBarcodeContext, IDRS_UINT const uiMinimumSymbolsLength, idrs_exception *pargException)
Set the minimum number of symbols required to validate a 1D barcode candidate.
void CBarcodeContext_SetDetectedEncodings(CBarcodeContext argCBarcodeContext, const BarcodeEncodingArray argBarcodeEncodingArray, idrs_exception *pargException)
Set the array of barcode encodings to detect.
IDRS_UINT CBarcodeContext_GetMinimumSymbolsLength(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Get the minimum number of symbols required to validate a 1D barcode candidate.
CBarcodeContext CBarcodeContext_Create3(const BarcodeTypeArray xBarcodeTypes, idrs_exception *pargException)
Create creates a barcode recognition context to recognize the given barcode types.
CBarcodeContext CBarcodeContext_Create2(enum BarcodeType const evBarcodeType, idrs_exception *pargException)
Create creates a barcode recognition context to recognize the given barcode type.
BarcodeTypeArray CBarcodeContext_GetBarcodeTypes(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Gets the barcode types set.
void CBarcodeContext_SetMinimumPixelsHeight(CBarcodeContext argCBarcodeContext, IDRS_UINT const uiMinimumPixelsHeight, idrs_exception *pargException)
Set the minimum bar height required to validate a 1D barcode candidate.
void CBarcodeContext_SetMaximumPixelsHeight(CBarcodeContext argCBarcodeContext, IDRS_UINT const uiMaximumPixelsHeight, idrs_exception *pargException)
Set the maximum bar height required to validate a 1D barcode candidate.
void CBarcodeContext_SetStopOnFirstResult(CBarcodeContext argCBarcodeContext, IDRS_BOOL const bStopOnFirstResult, idrs_exception *pargException)
Set the flag indicating if the iDRS should stop barcode recognition as soon as a result is found.
void CBarcodeContext_SetBarcodeTypes(CBarcodeContext argCBarcodeContext, const BarcodeTypeArray xBarcodeTypes, idrs_exception *pargException)
SetBarcodeTypes sets the barcode types to look for.
BarcodeTypeArray CBarcodeContext_GetRecommendedBarcodeTypes(idrs_exception *pargException)
Gets a CBarcodeSet object populated with the barcode types recommended for most barcode recognition w...
IDRS_BOOL CBarcodeContext_GetStopOnFirstResult(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Get the flag indicating if the iDRS should stop barcode recognition as soon as a result is found.
void CBarcodeContext_SetMaximumSymbolsLength(CBarcodeContext argCBarcodeContext, IDRS_UINT const uiMaximumSymbolsLength, idrs_exception *pargException)
Set the maximum number of symbols required to validate a 1D barcode candidate.
CBarcodeContext CBarcodeContext_Create(idrs_exception *pargException)
Create creates a barcode recognition context. The context is initialized to detect all recommended ba...
IDRS_UINT CBarcodeContext_GetMinimumPixelsHeight(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Get the minimum bar height required to validate a 1D barcode candidate.
IDRS_UINT CBarcodeContext_GetMaximumSymbolsLength(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Get the maximum number of symbols required to validate a 1D barcode candidate.
IDRS_UINT CBarcodeContext_GetMaximumPixelsHeight(const CBarcodeContext argCBarcodeContext, idrs_exception *pargException)
Get the maximum bar height required to validate a 1D barcode candidate.
Interface for CObjPtr wrapper.
The CBarcodeContext class manages a barcode recognition context.