Skip to content

Commit f24e46d

Browse files
Merge pull request #23 from dynamsoft-docs/preview
update to internal commit bbef8373
2 parents bb43818 + 6a37afc commit f24e46d

File tree

8 files changed

+464
-17
lines changed

8 files changed

+464
-17
lines changed

_data/product_version.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version_info_list_desktop:
44
- value: latest version
55
- value: 2.x
66
child:
7-
- 2.2.10
8-
- 2.2.0
9-
- 2.0.20
10-
- 2.0.10
11-
- 2.0.0
7+
- 2.2.10_cplusplus
8+
- 2.2.0_cplusplus
9+
- 2.0.20_cplusplus
10+
- 2.0.10_cplusplus
11+
- 2.0.0_cplusplus

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.4.10",
4+
"matchList": {
5+
"cpp":{
6+
"dcvRepoServer": [
7+
{
8+
"path": "/programming/cplusplus/api-reference/capture-vision-router",
9+
"version": "2.4.10"
10+
},
11+
{
12+
"path": "/programming/cplusplus/api-reference/core",
13+
"version": "3.2.40"
14+
},
15+
{
16+
"path": "/programming/cplusplus/api-reference/image-processing",
17+
"version": "2.2.40"
18+
},
19+
{
20+
"path": "/programming/cplusplus/api-reference/license",
21+
"version": "3.2.30"
22+
},
23+
{
24+
"path": "/programming/cplusplus/api-reference/utility",
25+
"version": "1.2.30"
26+
}
27+
],
28+
"dcvRepoCore": [
29+
{
30+
"path": "/enums/capture-vision-router",
31+
"version": "2.4.10"
32+
},
33+
{
34+
"path": "/enums/code-parser",
35+
"version": "2.4.10"
36+
},
37+
{
38+
"path": "/enums/core",
39+
"version": "3.2.40"
40+
},
41+
{
42+
"path": "/parameters/reference/barcode-format-specification",
43+
"version": "10.4.10"
44+
},
45+
{
46+
"path": "/parameters/reference/barcode-reader-task-settings",
47+
"version": "10.4.10"
48+
},
49+
{
50+
"path": "/parameters/reference/capture-vision-template",
51+
"version": "2.2.40"
52+
},
53+
{
54+
"path": "/parameters/reference/character-model",
55+
"version": "3.4.10"
56+
},
57+
{
58+
"path": "/parameters/reference/code-parser-task-settings",
59+
"version": "2.4.10"
60+
},
61+
{
62+
"path": "/parameters/reference/global-parameter",
63+
"version": "2.2.40"
64+
},
65+
{
66+
"path": "/parameters/reference/image-parameter",
67+
"version": "2.2.40"
68+
},
69+
{
70+
"path": "/parameters/reference/image-source-options",
71+
"version": "2.2.40"
72+
},
73+
{
74+
"path": "/parameters/reference/label-recognizer-task-settings",
75+
"version": "3.4.10"
76+
},
77+
{
78+
"path": "/parameters/reference/semantic-processing",
79+
"version": "2.2.40"
80+
},
81+
{
82+
"path": "/parameters/reference/target-roi-def",
83+
"version": "2.2.40"
84+
},
85+
{
86+
"path": "/parameters/reference/text-line-specification",
87+
"version": "3.4.10"
88+
}
89+
]
90+
}
91+
}
92+
},
293
{
394
"version": "2.2.20",
495
"matchList": {

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

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ 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+
| [`HasItem`](#hasitem) | Check if the item is present in the array. |
25+
| [`RemoveItem`](#removeitem) | Remove a specific item from the array in the parsed results. |
2426
25-
### GetSourceImageHashId
27+
## GetSourceImageHashId
2628
2729
Gets the hash ID of the source image.
2830
@@ -34,7 +36,7 @@ virtual const char* GetSourceImageHashId() const = 0;
3436

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

37-
### GetSourceImageTag
39+
## GetSourceImageTag
3840

3941
Gets the tag of the source image.
4042

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

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

53-
### GetCount
55+
## GetCount
5456

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

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

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

65-
### GetItem
67+
## GetItem
6668

6769
Gets the parsed result item at the specified index.
6870

@@ -78,7 +80,7 @@ virtual const CParsedResultItem* GetItem(int index) const = 0;
7880
7981
Returns a pointer to the `CParsedResultItem` object at the specified index.
8082
81-
### GetErrorCode
83+
## GetErrorCode
8284
8385
Gets the error code of the parsed result, if an error occurred.
8486
@@ -90,7 +92,7 @@ virtual int GetErrorCode() const = 0;
9092

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

93-
### GetErrorString
95+
## GetErrorString
9496

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

@@ -101,3 +103,45 @@ virtual const char* GetErrorString() const = 0;
101103
**Return value**
102104

103105
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.
106+
107+
## HasItem
108+
109+
Check if the item is present in the array.
110+
111+
```cpp
112+
virtual bool HasItem(const CParsedResultItem* item) const = 0;
113+
```
114+
115+
**Parameters**
116+
117+
`[in] item` The specific item to be checked.
118+
119+
**Return value**
120+
121+
Returns a bool value indicating whether the item is present in the array or not.
122+
123+
**See Also**
124+
125+
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)
126+
127+
## RemoveItem
128+
129+
Remove a specific item from the array in the parsed results.
130+
131+
```cpp
132+
virtual int RemoveItem(const CParsedResultItem* item) = 0;
133+
```
134+
135+
**Parameters**
136+
137+
`[in] item` The specific item to be removed.
138+
139+
**Return value**
140+
141+
Returns an error code. Zero indicates success.
142+
143+
**See Also**
144+
145+
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)
146+
147+

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

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ 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+
| [`HasItem`](#hasitem) | Check if the item is present in the array. |
25+
| [`RemoveItem`](#removeitem) | Remove a specific item from the array in the parsed results. |
2426
25-
### GetOriginalImageHashId
27+
## GetOriginalImageHashId
2628
2729
Gets the hash ID of the source image.
2830
@@ -34,7 +36,7 @@ virtual const char* GetOriginalImageHashId() const = 0;
3436

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

37-
### GetOriginalImageTag
39+
## GetOriginalImageTag
3840

3941
Gets the tag of the source image.
4042

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

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

53-
### GetItemsCount
55+
## GetItemsCount
5456

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

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

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

65-
### GetItem
67+
## GetItem
6668

6769
Gets the parsed result item at the specified index.
6870

@@ -82,7 +84,7 @@ Returns a pointer to the `CParsedResultItem` object at the specified index.
8284
8385
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)
8486
85-
### GetErrorCode
87+
## GetErrorCode
8688
8789
Gets the error code of the parsed result, if an error occurred.
8890
@@ -94,7 +96,7 @@ virtual int GetErrorCode() const = 0;
9496

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

97-
### GetErrorString
99+
## GetErrorString
98100

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

@@ -105,3 +107,45 @@ virtual const char* GetErrorString() const = 0;
105107
**Return value**
106108

107109
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.
110+
111+
## HasItem
112+
113+
Check if the item is present in the array.
114+
115+
```cpp
116+
virtual bool HasItem(const CParsedResultItem* item) const = 0;
117+
```
118+
119+
**Parameters**
120+
121+
`[in] item` The specific item to be checked.
122+
123+
**Return value**
124+
125+
Returns a bool value indicating whether the item is present in the array or not.
126+
127+
**See Also**
128+
129+
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)
130+
131+
## RemoveItem
132+
133+
Remove a specific item from the array in the parsed results.
134+
135+
```cpp
136+
virtual int RemoveItem(const CParsedResultItem* item) = 0;
137+
```
138+
139+
**Parameters**
140+
141+
`[in] item` The specific item to be removed.
142+
143+
**Return value**
144+
145+
Returns an error code. Zero indicates success.
146+
147+
**See Also**
148+
149+
[CParsedResultItem]({{ site.dcp_cpp_api }}parsed-result-item.html)
150+
151+

0 commit comments

Comments
 (0)