Resource Base
Table of contents

CCapturedResultItem

The CCapturedResultItem class represents an item in a captured result. It is an abstract base class with multiple subclasses, each representing a different type of captured item such as barcode, text line, detected quad, normalized image, raw image, parsed item, etc.

Definition

Namespace: dynamsoft::basic_structures

Assembly: DynamsoftCore

class CCapturedResultItem 

Methods Summary

Method Description
~CCapturedResultItem This is the class destructor.
GetType Gets the type of the captured result item.
GetReferenceItem Gets a pointer to the referenced item in the captured result.
GetTargetROIDefName Gets the name of the target ROI definition.
GetTaskName Gets the name of the task.
Retain Increases the reference count of the CCapturedResultItem object.
Release Decreases the reference count of the CCapturedResultItem object.
Clone Clone the captured result item.

CCapturedResultItem Destructor

This is the class destructor.

virtual ~CCapturedResultItem(){};

GetType

Gets the type of the captured result item.

virtual CapturedResultItemType GetType() const

Return value

Returns the type of the captured result item.

See Also

CapturedResultItemType

GetReferenceItem

Gets a pointer to the referenced item in the captured result item.

virtual const CCapturedResultItem* GetReferenceItem() const

Return value

Returns a pointer to the referenced item in the captured result item. You are not required to release the memory pointed to by the returned pointer.

See Also

CCapturedResultItem

GetTargetROIDefName

Gets the name of the target ROI definition.

virtual const char* GetTargetROIDefName() const = 0;

Return value

Returns the name of the target ROI definition.

GetTaskName

Gets the name of the task.

virtual const char* GetTaskName() const = 0;

Return value

Returns the name of the task.

Retain

Increases the reference count of the CCapturedResultItem object.

virtual CCapturedResultItem* Retain() = 0;

Return value

Returns the object of CCapturedResultItem with its reference count incremented.

Remarks

Don’t forget to invoke the Release method when you no longer need the object.

Release

Decreases the reference count of the CCapturedResultItem object.

virtual void Release() = 0;

Clone

Clones the captured result item.

virtual CCapturedResultItem* Clone() const = 0;

Return value

Returns a pointer to a copy of the captured result item.

Remarks

Don’t forget to invoke the Release method when you no longer need the object.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.30
    • Version 2.2.20
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.30
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support