| 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 |
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.
Namespace: dynamsoft::cvr
Assembly: DynamsoftCaptureVisionRouter
class CCapturedResultArray | 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. |
Gets the number of [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) objects in the array.
int GetItemsCount() constReturn value
Returns the number of [CCapturedResult]({{ site.dcvb_cpp_api }}capture-vision-router/auxiliary-classes/captured-result.html) objects in the array.
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) constParameters
[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)
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.
Increases the reference count of the CCapturedResultArray object.
virtual CCapturedResultArray* Retain() = 0;Return value
Return an object of CCapturedResultArray.
Decreases the reference count of the CCapturedResultArray object.
virtual void Release() = 0;