layout | title | description | keywords | needAutoGenerateSidebar |
---|---|---|---|---|
default-layout |
CParsedResult Class - Dynamsoft Code Parser SDK C++ Edition API Reference |
This page shows CParsedResult Class of Dynamsoft Code Parser SDK C++ Edition. |
CParsedResult, api reference, c++ |
true |
class dynamsoft::dcp::CParsedResult
Method | Description |
---|---|
GetOriginalImageHashId |
Gets the hash ID of the source image. |
GetOriginalImageTag |
Gets the tag of the source image. |
GetItemsCount |
Gets the number of parsed result items in the parsed result. |
GetItem |
Gets the parsed result item at the specified index. |
GetErrorCode |
Gets the error code of the parsed result, if an error occurred. |
GetErrorString |
Gets the error message of the parsed result, if an error occurred. |
Release |
Decreases the reference count of the CParsedResult object. |
Retain |
Increases the reference count of the CParsedResult object. |
operator[] |
Gets a pointer to the CParsedResultItem object at the specified index. |
Gets the hash ID of the source image.
virtual const char* GetOriginalImageHashId() const = 0;
Return value
Returns a pointer to a null-terminated string containing the hash ID of the source image.
Gets the tag of the source image.
virtual const CImageTag* GetOriginalImageTag() const = 0;
Return value
Returns a pointer to a CImageTag object representing the tag of the source image.
See Also
[CImageTag]({{ site.dcv_cpp_api }}core/basic-structures/image-tag.html)
Gets the number of parsed result items in the parsed result.
virtual int GetItemsCount() const = 0;
Return value
Returns the number of parsed result items in the parsed result.
Gets the parsed result item at the specified index.
virtual const CParsedResultItem* GetItem(int index) const = 0;
Parameters
[in] index
The zero-based index of the text line result item to retrieve.
Return value
Returns a pointer to the CParsedResultItem
object at the specified index.
See Also
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)
Gets the error code of the parsed result, if an error occurred.
virtual int GetErrorCode() const = 0;
Return value
Returns the error code of the parsed result, or 0 if no error occurred.
Gets the error message of the parsed result, if an error occurred.
virtual const char* GetErrorString() const = 0;
Return value
Returns a pointer to a null-terminated string containing the error message of the parsed result, or a pointer to an empty string if no error occurred.
Decreases the reference count of the CParsedResult
object.
virtual void Release() = 0;
Increases the reference count of the CParsedResult
object.
virtual CParsedResult* Retain() = 0;
Return value
Returns an object of CParsedResult
.
Gets a pointer to the CParsedResultItem
object at the specified index.
virtual const CParsedResultItem* operator[](int index) const = 0;
Parameters
[in] index
The index of the parsed result item to retrieve.
Return value
Returns a pointer to the CParsedResultItem
object at the specified index.
See Also
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)