CLocalizedBarcodesUnit Class
The CLocalizedBarcodesUnit class represents a unit that contains localized barcodes unit. It inherits from the CIntermediateResultUnit class.
Definition
Namespace: dynamsoft::dbr::intermediate_results
Assembly: DynamsoftBarcodeReader
Inheritance: CIntermediateResultUnit -> CLocalizedBarcodesUnit
class CLocalizedBarcodesUnit: public CIntermediateResultUnit
Methods
| Method | Description |
|---|---|
GetCount |
Gets the number of localized barcodes in the unit. |
GetLocalizedBarcode |
Gets a pointer to a specific localized barcode element. |
Inherited Methods
The following methods are inherited from class CIntermediateResultUnit.
| Method | Description |
|---|---|
GetHashId |
Gets the hash ID of the unit. |
GetOriginalImageHashId |
Gets the hash ID of the original image. |
GetOriginalImageTag |
Gets the image tag of the original image. |
GetType |
Gets the type of the intermediate result unit. |
Clone |
Creates a copy of the intermediate result unit. |
SetHashId |
Sets the hash ID of the unit. |
SetOriginalImageHashId |
Sets the hash ID of the original image. |
SetOriginalImageTag |
Sets the image tag of the original image. |
Retain |
Increases the reference count of the unit. |
Release |
Decreases the reference count of the unit. |
GetTransformMatrix |
Gets the transformation matrix via TransformMatrixType. |
SetTransformMatrix |
Sets the transformation matrix via TransformMatrixType. |
GetCount
Gets the number of localized barcodes in the unit.
virtual int GetCount() const = 0;
Return value
Returns the number of localized barcodes in the unit.
GetLocalizedBarcode
Gets a pointer to a specific localized barcode element.
virtual const CLocalizedBarcodeElement* GetLocalizedBarcode(int index) const = 0;
Parameters
[in] index The index of the localized barcode element to retrieve.
Return value
Returns a const pointer to the localized barcode element at the specified index.
See Also