| layout | default-layout |
|---|---|
| title | class CCapturedResultItem - Dynamsoft Core Module C++ Edition API Reference |
| description | This page shows the C++ edition of the class CCapturedResultItem in Dynamsoft Core Module. |
| keywords | captured result item, c++ |
| needAutoGenerateSidebar | true |
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.
Namespace: dynamsoft::basic_structures
Assembly: DynamsoftCore
class CCapturedResultItem | 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. |
This is the class destructor.
virtual ~CCapturedResultItem(){};Gets the type of the captured result item.
virtual CapturedResultItemType GetType() constReturn value
Returns the type of the captured result item.
See Also
[CapturedResultItemType]({{ site.dcvb_cpp_api }}core/enum-captured-result-item-type.html?src=cpp&&lang=cpp)
Gets a pointer to the referenced item in the captured result item.
virtual const CCapturedResultItem* GetReferenceItem() constReturn 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]({{ site.dcvb_cpp_api }}core/basic-structures/captured-result-item.html)
Gets the name of the target ROI definition.
virtual const char* GetTargetROIDefName() const = 0;Return value
Returns the name of the target ROI definition.
Gets the name of the task.
virtual const char* GetTaskName() const = 0;Return value
Returns the name of the task.
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.
Decreases the reference count of the CCapturedResultItem object.
virtual void Release() = 0;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.