Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.83 KB

decoded-barcodes-unit-v10.0.20.md

File metadata and controls

64 lines (40 loc) · 1.83 KB
layout title description keywords
default-layout
CDecodedBarcodesUnit Class - Dynamsoft Barcode Reader C++ Edition API Reference
This page shows CDecodedBarcodesUnit class definition of Dynamsoft Barcode Reader SDK C++ Edition.
GetCount, GetDecodedBarcode, CDecodedBarcodesUnit, api reference

CDecodedBarcodesUnit Class

The CDecodedBarcodesUnit class represents a unit that contains decoded barcode elements. It inherits from the CIntermediateResultUnit class.

Definition

Namespace: dynamsoft::dbr::intermediate_results

Assembly: DynamsoftBarcodeReader

Inheritance: [CIntermediateResultUnit]({{ site.dcv_cpp_api }}core/intermediate-results/intermediate-result-unit.html) -> CDecodedBarcodesUnit

class CDecodedBarcodesUnit: public CIntermediateResultUnit

Methods

Method Description
GetCount Gets the number of decoded barcodes in the unit.
GetDecodedBarcode Gets a pointer to the CDecodedBarcodeElement object at the specified index.

Inherited Methods

{%- include inherited-methods/intermediate-result-unit-10.0.20.md -%}

GetCount

Gets the number of decoded barcodes in the unit.

virtual int GetCount() const = 0;

Return value

Returns the number of decoded barcodes in the unit.

GetDecodedBarcode

Gets a pointer to the CDecodedBarcodeElement object at the specified index.

virtual const CDecodedBarcodeElement* GetDecodedBarcode(int index) const = 0;

Parameter

[in] index The index of the desired CDecodedBarcodeElement object.

Return value

Returns a pointer to the CDecodedBarcodeElement object at the specified index.

See Also

[CDecodedBarcodeElement]({{ site.dbr_cpp_api }}decoded-barcode-element.html)