Skip to content

Latest commit

 

History

History
99 lines (62 loc) · 3.35 KB

File metadata and controls

99 lines (62 loc) · 3.35 KB
layout default-layout
title class CCapturedResultArray - Dynamsoft Capture Vision C++ Edition API Reference
description API reference for the CCapturedResultArray class in Dynamsoft Capture Vision C++ Edition, representing an array of CCapturedResult objects returned from multi-page or batch processing.
keywords captured result array, c++
needAutoGenerateSidebar true

CCapturedResultArray

The CCapturedResultArray class represents a collection of captured results, each derived from a capture operation on an image. Internally, CaptureResult maintains an array of items, which may include barcodes, text lines, detected quads, normalized images, raw images, parsed items, and more.

Definition

Namespace: dynamsoft::cvr

Assembly: DynamsoftCaptureVisionRouter

class CCapturedResultArray 

Methods

Method Description
GetResultsCount Gets the number of [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) objects in the array.
GetResult Gets a pointer to the [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) object at the specified index.
operator[] Gets a pointer to the [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) object at the specified index.
Retain Increases the reference count of the CCapturedResultArray object.
Release Decreases the reference count of the CCapturedResultArray object.

GetResultsCount

Gets the number of [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) objects in the array.

int GetItemsCount() const

Return value

Returns the number of [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) objects in the array.

GetResult

Gets a pointer to the [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) object at the specified index.

const CCapturedResult* GetResult(int index) const

Parameters

[in] index The index of the result to retrieve.

Return value

Returns a pointer to the [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) object.

See Also

[CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html)

operator[]

Gets a pointer to the [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) object at the specified index.

virtual const CCapturedResult* operator[](int index) const = 0;

Parameters

[in] index The index of the result to retrieve.

Return value

Returns a pointer to the [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) object.

Retain

Increases the reference count of the CCapturedResultArray object.

virtual CCapturedResultArray* Retain() = 0;

Return value

Return an object of CCapturedResultArray.

Release

Decreases the reference count of the CCapturedResultArray object.

virtual void Release() = 0;