Resource Base
Table of contents

CParsedResult Class

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.

GetOriginalImageHashId

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.

GetOriginalImageTag

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

GetItemsCount

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.

GetItem

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

GetErrorCode

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.

GetErrorString

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.

Release

Decreases the reference count of the CParsedResult object.

virtual void Release() = 0;

Retain

Increases the reference count of the CParsedResult object.

virtual CParsedResult* Retain() = 0;

Return value

Returns an object of CParsedResult.

operator[]

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

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.0
    • 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