Resource Base
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

CParsedResult Class

class dynamsoft::dcp::CParsedResult
Method Description
GetSourceImageHashId Gets the hash ID of the source image.
GetSourceImageTag Gets the tag of the source image.
GetCount 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.
HasItem Check if the item is present in the array.
RemoveItem Remove a specific item from the array in the parsed results.

GetSourceImageHashId

Gets the hash ID of the source image.

virtual const char* GetSourceImageHashId() const = 0;

Return value

Returns a pointer to a null-terminated string containing the hash ID of the source image.

GetSourceImageTag

Gets the tag of the source image.

virtual const CImageTag* GetSourceImageTag() const = 0;

Return value

Returns a pointer to a CImageTag object representing the tag of the source image.

See Also

CImageTag

GetCount

Gets the number of parsed result items in the parsed result.

virtual int GetCount() 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.

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.

HasItem

Check if the item is present in the array.

virtual bool HasItem(const CParsedResultItem* item) const = 0;

Parameters

[in] item The specific item to be checked.

Return value

Returns a bool value indicating whether the item is present in the array or not.

See Also

CParsedResultItem

RemoveItem

Remove a specific item from the array in the parsed results.

virtual int RemoveItem(const CParsedResultItem* item) = 0;

Parameters

[in] item The specific item to be removed.

Return value

Returns an error code. Zero indicates success.

See Also

CParsedResultItem

Is this page helpful?

YesYes NoNo

In this article:

version 2.0.0

  • version 2.4.10
  • Version 2.x
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.0
Change +