Skip to content

Commit 4701047

Browse files
update to internal commit 4d3bf3dc
1 parent 9e81a93 commit 4701047

File tree

7 files changed

+267
-1
lines changed

7 files changed

+267
-1
lines changed

_data/product_version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ version_info_list_desktop:
44
- value: latest version
55
- value: 2.x
66
child:
7+
- 2.0.20
78
- 2.0.10
89
- 2.0.0

_layouts/default-layout.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<html lang="en-US">
33

44
{%- include head.html -%}
5+
{%- assign noTitleIndex = "" -%}
6+
{%- if page.noTitleIndex or page.url contains 'release-notes' -%}
7+
{%- assign noTitleIndex = "noTitleIndex" -%}
8+
{%- endif -%}
59

610
<body class="dlrDoc">
711
{% assign url = 'https://www.dynamsoft.com/shared/head/' %}

assets/js/dcpServerVersionSearch.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,95 @@
11
[
2+
{
3+
"version": "2.2.0",
4+
"matchList": {
5+
"cpp":{
6+
"dcvRepoServer": [
7+
{
8+
"path": "/programming/cplusplus/api-reference/capture-vision-router",
9+
"version": "2.2.0"
10+
},
11+
{
12+
"path": "/programming/cplusplus/api-reference/core",
13+
"version": "3.2.0"
14+
},
15+
{
16+
"path": "/programming/cplusplus/api-reference/image-processing",
17+
"version": "2.2.0"
18+
},
19+
{
20+
"path": "/programming/cplusplus/api-reference/license",
21+
"version": "3.2.0"
22+
},
23+
{
24+
"path": "/programming/cplusplus/api-reference/utility",
25+
"version": "1.2.0"
26+
}
27+
],
28+
"dcvRepoCore": [
29+
{
30+
"path": "/enums/capture-vision-router",
31+
"version": "2.2.0"
32+
},
33+
{
34+
"path": "/enums/code-parser",
35+
"version": "3.2.0"
36+
},
37+
{
38+
"path": "/enums/core",
39+
"version": "3.2.0"
40+
},
41+
{
42+
"path": "/parameters/reference/barcode-format-specification",
43+
"version": "10.2.0"
44+
},
45+
{
46+
"path": "/parameters/reference/barcode-reader-task-settings",
47+
"version": "10.2.0"
48+
},
49+
{
50+
"path": "/parameters/reference/capture-vision-template",
51+
"version": "2.2.0"
52+
},
53+
{
54+
"path": "/parameters/reference/character-model",
55+
"version": "3.2.0"
56+
},
57+
{
58+
"path": "/parameters/reference/code-parser-task-settings",
59+
"version": "2.2.0"
60+
},
61+
{
62+
"path": "/parameters/reference/global-parameter",
63+
"version": "2.2.0"
64+
},
65+
{
66+
"path": "/parameters/reference/image-parameter",
67+
"version": "2.2.0"
68+
},
69+
{
70+
"path": "/parameters/reference/image-source-options",
71+
"version": "3.2.0"
72+
},
73+
{
74+
"path": "/parameters/reference/label-recognizer-task-settings",
75+
"version": "3.2.0"
76+
},
77+
{
78+
"path": "/parameters/reference/semantic-processing",
79+
"version": "2.2.0"
80+
},
81+
{
82+
"path": "/parameters/reference/target-roi-def",
83+
"version": "2.2.0"
84+
},
85+
{
86+
"path": "/parameters/reference/text-line-specification",
87+
"version": "3.2.0"
88+
}
89+
]
90+
}
91+
}
92+
},
293
{
394
"version": "2.0.20",
495
"matchList": {
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
layout: default-layout
3+
title: CParsedResult Class - Dynamsoft Code Parser SDK C++ Edition API Reference
4+
description: This page shows CParsedResult Class of Dynamsoft Code Parser SDK C++ Edition.
5+
keywords: CParsedResult, api reference, c++
6+
needAutoGenerateSidebar: true
7+
---
8+
9+
10+
# CParsedResult Class
11+
12+
```cpp
13+
class dynamsoft::dcp::CParsedResult
14+
```
15+
16+
| Method | Description |
17+
|----------------------|-------------|
18+
| [`GetOriginalImageHashId`](#getoriginalimagehashid) | Gets the hash ID of the source image. |
19+
| [`GetOriginalImageTag`](#getoriginalimagetag) | Gets the tag of the source image. |
20+
| [`GetItemsCount`](#getitemscount) | Gets the number of parsed result items in the parsed result. |
21+
| [`GetItem`](#getitem) | Gets the parsed result item at the specified index. |
22+
| [`GetErrorCode`](#geterrorcode) | Gets the error code of the parsed result, if an error occurred. |
23+
| [`GetErrorString`](#geterrorstring) | Gets the error message of the parsed result, if an error occurred. |
24+
25+
### GetOriginalImageHashId
26+
27+
Gets the hash ID of the source image.
28+
29+
```cpp
30+
virtual const char* GetOriginalImageHashId() const = 0;
31+
```
32+
33+
**Return value**
34+
35+
Returns a pointer to a null-terminated string containing the hash ID of the source image.
36+
37+
### GetOriginalImageTag
38+
39+
Gets the tag of the source image.
40+
41+
```cpp
42+
virtual const CImageTag* GetOriginalImageTag() const = 0;
43+
```
44+
45+
**Return value**
46+
47+
Returns a pointer to a CImageTag object representing the tag of the source image.
48+
49+
**See Also**
50+
51+
[CImageTag]({{ site.dcv_cpp_api }}core/basic-structures/image-tag.html)
52+
53+
### GetItemsCount
54+
55+
Gets the number of parsed result items in the parsed result.
56+
57+
```cpp
58+
virtual int GetItemsCount() const = 0;
59+
```
60+
61+
**Return value**
62+
63+
Returns the number of parsed result items in the parsed result.
64+
65+
### GetItem
66+
67+
Gets the parsed result item at the specified index.
68+
69+
```cpp
70+
virtual const CParsedResultItem* GetItem(int index) const = 0;
71+
```
72+
73+
**Parameters**
74+
75+
`[in] index` The zero-based index of the text line result item to retrieve.
76+
77+
**Return value**
78+
79+
Returns a pointer to the `CParsedResultItem` object at the specified index.
80+
81+
**See Also**
82+
83+
[CParsedResultItem]({{ site.cpp_api }}parsed-result-item.html)
84+
85+
### GetErrorCode
86+
87+
Gets the error code of the parsed result, if an error occurred.
88+
89+
```cpp
90+
virtual int GetErrorCode() const = 0;
91+
```
92+
93+
**Return value**
94+
95+
Returns the error code of the parsed result, or 0 if no error occurred.
96+
97+
### GetErrorString
98+
99+
Gets the error message of the parsed result, if an error occurred.
100+
101+
```cpp
102+
virtual const char* GetErrorString() const = 0;
103+
```
104+
105+
**Return value**
106+
107+
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.

programming/cplusplus/api-reference/parsed-result.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class dynamsoft::dcp::CParsedResult
2121
| [`GetItem`](#getitem) | Gets the parsed result item at the specified index. |
2222
| [`GetErrorCode`](#geterrorcode) | Gets the error code of the parsed result, if an error occurred. |
2323
| [`GetErrorString`](#geterrorstring) | Gets the error message of the parsed result, if an error occurred. |
24+
| [`Release`](#release) | Decreases the reference count of the `CParsedResult` object. |
25+
| [`Retain`](#retain) | Increases the reference count of the `CParsedResult` object. |
26+
| [`operator[]`](#operator[]) | Gets a pointer to the `CParsedResultItem` object at the specified index.|
2427
2528
### GetOriginalImageHashId
2629
@@ -105,3 +108,43 @@ virtual const char* GetErrorString() const = 0;
105108
**Return value**
106109

107110
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.
111+
112+
### Release
113+
114+
Decreases the reference count of the `CParsedResult` object.
115+
116+
```cpp
117+
virtual void Release() = 0;
118+
```
119+
120+
### Retain
121+
122+
Increases the reference count of the `CParsedResult` object.
123+
124+
```cpp
125+
virtual CParsedResult* Retain() = 0;
126+
```
127+
128+
**Return value**
129+
130+
Returns an object of `CParsedResult`.
131+
132+
### operator[]
133+
134+
Gets a pointer to the `CParsedResultItem` object at the specified index.
135+
136+
```cpp
137+
virtual const CParsedResultItem* operator[](int index) const = 0;
138+
```
139+
140+
**Parameters**
141+
142+
`[in] index` The index of the parsed result item to retrieve.
143+
144+
**Return value**
145+
146+
Returns a pointer to the `CParsedResultItem` object at the specified index.
147+
148+
**See Also**
149+
150+
[CParsedResultItem]({{ site.cpp_api }}parsed-result-item.html)

programming/cplusplus/release-notes/cpp-2.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,28 @@ needGenerateH3Content: false
88

99
# Release Notes for C++ Edition - 2.x
1010

11+
## 2.2.0 (01/16/2024)
12+
13+
This is a compatibility update that is designed to work with the version 2.2 of `DynamsoftCaptureVision (DCV)` architecture.
14+
15+
### New
16+
17+
- Added the following methods to the `CParsedResult` class:
18+
- A new constructor
19+
- `Retain`
20+
- `Release`
21+
22+
### Break Changes
23+
24+
- The destructor functions of the following classes are changed to protected:
25+
- `CParsedResultItem`
26+
- `CParsedResult`
27+
- Removed an internal logic that grouping the text line recognition result of the MRZ. The logic is replaced by the text line group definition of the parameter system.
28+
- Change the compiler option of the runtime library of Windows DLLs from MD to MT.
29+
1130
## 2.0.20 (10/26/2023)
1231

13-
This is a compatibility update that is designed to work with the latest version of `DynamsoftCaptureVision (DCV)` architecture.
32+
This is a compatibility update that is designed to work with the version 2.0.20 of `DynamsoftCaptureVision (DCV)` architecture.
1433

1534
## 2.0.10 (08/08/2023)
1635

programming/cplusplus/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ needAutoGenerateSidebar: false
88

99
# Release Notes - C++ Edition
1010

11+
- [2.2.0 (01/16/2024)](cpp-2.md#220-01162024)
1112
- [2.0.20 (10/26/2023)](cpp-2.md#2020-10262023)
1213
- [2.0.10 (08/08/2023)](cpp-2.md#2010-08082023)
1314
- [2.0.0 (07/04/2023)](cpp-2.md#200-07042023)

0 commit comments

Comments
 (0)