Resource Base
Table of contents

CParsedResultItem Class

class dynamsoft::dcp::CParsedResultItem
Method Description
GetCodeType Gets the code type of the parsed result.
GetFieldMappingStatus Gets the mapping status of a specified field from the parsed result.
GetFieldValidationStatus Gets the validation status of a specified field from the parsed result.
GetFieldRawValue Gets the raw string of a specified field from the parsed result.
GetFieldValue Gets the value of a specified field from the parsed result.
GetJsonString Gets the parsed result as a JSON formatted string.
GetFieldCount Gets the total number of parsed fields.
GetFieldName Gets the name of a specific parsed field by its index.

GetCodeType

Gets the code type of the parsed result.

const char* dynamsoft::dcp::CParsedResultItem::GetCodeType()

Return Value

Returns a string value representing the code type.

GetJsonString

Gets the parsed result as a JSON formatted string.

const char* dynamsoft::dcp::CParsedResultItem::GetJsonString()

Return Value

Returns a JSON formatted string representing the parsed result.

GetFieldRawValue

Gets the raw string of a specified field from the parsed result.

const char* GetFieldRawValue(const char* fieldName)

Parameters

[in] fieldName The name of the field.

Return Value

Returns a string representing the specified field raw string.

GetFieldValue

Gets the value of a specified field from the parsed result.

const char* dynamsoft::dcp::CParsedResultItem::GetFieldValue (const char* fieldName)

Parameters

[in] fieldName The name of the field.

Return Value

Returns a string representing the specified field value.

GetFieldMappingStatus

Gets the mapping status of a specified field from the parsed result.

MappingStatus dynamsoft::dcp::CParsedResultItem::GetFieldMappingStatus(const char* fieldName)

Parameters

[in] fieldName The name of the field.

Return Value

Returns a MappingStatus enumeration value representing the mapping status of a specified field.

See Also

MappingStatus

GetFieldValidationStatus

Gets the validation status of a specified field from the parsed result.

ValidationStatus dynamsoft::dcp::CParsedResultItem::GetFieldValidationStatus(const char* fieldName)

Parameters

[in] fieldName The name of the field.

Return Value

Returns a ValidationStatus enumeration value representing the validation status of a specified field.

See Also

ValidationStatus

GetFieldCount

Gets the total number of parsed fields.

int GetFieldCount()

Return Value

Returns an integer representing the count of parsed fields.

GetFieldName

Gets the name of a specific parsed field by its index.

const char* GetFieldName(const int index)

Parameters

[in] index The index of the parsed field.

Return Value

Returns a string representing the specified field name.

If the field is nested, the name includes all parent fields, separated by a dot (.). The format follows this pattern: [.[....]]

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: