Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions _data/product_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version_info_list_desktop:
- value: latest version
- value: 2.x
child:
- 2.2.10
- 2.2.0
- 2.0.20
- 2.0.10
- 2.0.0
- 2.2.10_cplusplus
- 2.2.0_cplusplus
- 2.0.20_cplusplus
- 2.0.10_cplusplus
- 2.0.0_cplusplus
91 changes: 91 additions & 0 deletions assets/js/dcpServerVersionSearch.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,95 @@
[
{
"version": "2.4.10",
"matchList": {
"cpp":{
"dcvRepoServer": [
{
"path": "/programming/cplusplus/api-reference/capture-vision-router",
"version": "2.4.10"
},
{
"path": "/programming/cplusplus/api-reference/core",
"version": "3.2.40"
},
{
"path": "/programming/cplusplus/api-reference/image-processing",
"version": "2.2.40"
},
{
"path": "/programming/cplusplus/api-reference/license",
"version": "3.2.30"
},
{
"path": "/programming/cplusplus/api-reference/utility",
"version": "1.2.30"
}
],
"dcvRepoCore": [
{
"path": "/enums/capture-vision-router",
"version": "2.4.10"
},
{
"path": "/enums/code-parser",
"version": "2.4.10"
},
{
"path": "/enums/core",
"version": "3.2.40"
},
{
"path": "/parameters/reference/barcode-format-specification",
"version": "10.4.10"
},
{
"path": "/parameters/reference/barcode-reader-task-settings",
"version": "10.4.10"
},
{
"path": "/parameters/reference/capture-vision-template",
"version": "2.2.40"
},
{
"path": "/parameters/reference/character-model",
"version": "3.4.10"
},
{
"path": "/parameters/reference/code-parser-task-settings",
"version": "2.4.10"
},
{
"path": "/parameters/reference/global-parameter",
"version": "2.2.40"
},
{
"path": "/parameters/reference/image-parameter",
"version": "2.2.40"
},
{
"path": "/parameters/reference/image-source-options",
"version": "2.2.40"
},
{
"path": "/parameters/reference/label-recognizer-task-settings",
"version": "3.4.10"
},
{
"path": "/parameters/reference/semantic-processing",
"version": "2.2.40"
},
{
"path": "/parameters/reference/target-roi-def",
"version": "2.2.40"
},
{
"path": "/parameters/reference/text-line-specification",
"version": "3.4.10"
}
]
}
}
},
{
"version": "2.2.20",
"matchList": {
Expand Down
56 changes: 50 additions & 6 deletions programming/cplusplus/api-reference/parsed-result-v2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ class dynamsoft::dcp::CParsedResult
| [`GetItem`](#getitem) | Gets the parsed result item at the specified index. |
| [`GetErrorCode`](#geterrorcode) | Gets the error code of the parsed result, if an error occurred. |
| [`GetErrorString`](#geterrorstring) | Gets the error message of the parsed result, if an error occurred. |
| [`HasItem`](#hasitem) | Check if the item is present in the array. |
| [`RemoveItem`](#removeitem) | Remove a specific item from the array in the parsed results. |

### GetSourceImageHashId
## GetSourceImageHashId

Gets the hash ID of the source image.

Expand All @@ -34,7 +36,7 @@ virtual const char* GetSourceImageHashId() const = 0;

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

### GetSourceImageTag
## GetSourceImageTag

Gets the tag of the source image.

Expand All @@ -50,7 +52,7 @@ Returns a pointer to a CImageTag object representing the tag of the source image

[CImageTag]({{ site.dcv_cpp_api }}core/basic-structures/image-tag.html)

### GetCount
## GetCount

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

Expand All @@ -62,7 +64,7 @@ virtual int GetCount() const = 0;

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

### GetItem
## GetItem

Gets the parsed result item at the specified index.

Expand All @@ -78,7 +80,7 @@ virtual const CParsedResultItem* GetItem(int index) const = 0;

Returns a pointer to the `CParsedResultItem` object at the specified index.

### GetErrorCode
## GetErrorCode

Gets the error code of the parsed result, if an error occurred.

Expand All @@ -90,7 +92,7 @@ virtual int GetErrorCode() const = 0;

Returns the error code of the parsed result, or 0 if no error occurred.

### GetErrorString
## GetErrorString

Gets the error message of the parsed result, if an error occurred.

Expand All @@ -101,3 +103,45 @@ 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.

```cpp
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]({{ site.dcp_cpp_api }}parsed-result-item.html)

## RemoveItem

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

```cpp
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]({{ site.dcp_cpp_api }}parsed-result-item.html)


56 changes: 50 additions & 6 deletions programming/cplusplus/api-reference/parsed-result-v2.0.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ class dynamsoft::dcp::CParsedResult
| [`GetItem`](#getitem) | Gets the parsed result item at the specified index. |
| [`GetErrorCode`](#geterrorcode) | Gets the error code of the parsed result, if an error occurred. |
| [`GetErrorString`](#geterrorstring) | Gets the error message of the parsed result, if an error occurred. |
| [`HasItem`](#hasitem) | Check if the item is present in the array. |
| [`RemoveItem`](#removeitem) | Remove a specific item from the array in the parsed results. |

### GetOriginalImageHashId
## GetOriginalImageHashId

Gets the hash ID of the source image.

Expand All @@ -34,7 +36,7 @@ virtual const char* GetOriginalImageHashId() const = 0;

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

### GetOriginalImageTag
## GetOriginalImageTag

Gets the tag of the source image.

Expand All @@ -50,7 +52,7 @@ Returns a pointer to a CImageTag object representing the tag of the source image

[CImageTag]({{ site.dcv_cpp_api }}core/basic-structures/image-tag.html)

### GetItemsCount
## GetItemsCount

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

Expand All @@ -62,7 +64,7 @@ virtual int GetItemsCount() const = 0;

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

### GetItem
## GetItem

Gets the parsed result item at the specified index.

Expand All @@ -82,7 +84,7 @@ Returns a pointer to the `CParsedResultItem` object at the specified index.

[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)

### GetErrorCode
## GetErrorCode

Gets the error code of the parsed result, if an error occurred.

Expand All @@ -94,7 +96,7 @@ virtual int GetErrorCode() const = 0;

Returns the error code of the parsed result, or 0 if no error occurred.

### GetErrorString
## GetErrorString

Gets the error message of the parsed result, if an error occurred.

Expand All @@ -105,3 +107,45 @@ 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.

```cpp
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]({{ site.dcp_cpp_api }}parsed-result-item.html)

## RemoveItem

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

```cpp
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]({{ site.dcp_cpp_api }}parsed-result-item.html)


Loading