Skip to content

docs(cpp): API reference main#50

Merged
WomB0ComB0 merged 1 commit intomainfrom
auto/cpp-api-main
May 10, 2026
Merged

docs(cpp): API reference main#50
WomB0ComB0 merged 1 commit intomainfrom
auto/cpp-api-main

Conversation

@WomB0ComB0
Copy link
Copy Markdown
Member

Auto-generated by API docs (C++) in
resq-software/vcpkg for ref main
(run: 25620166260).

Regenerated files under sdks/cpp/api/. Doxygen extracted
declarations from each package's include/ headers; moxygen
converted them to Markdown.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

Warning

Rate limit exceeded

@WomB0ComB0 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 18 minutes and 45 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 84f9608b-d885-43de-97a3-ca22a5770956

📥 Commits

Reviewing files that changed from the base of the PR and between a4401a9 and 76ed459.

📒 Files selected for processing (26)
  • docs.json
  • sdks/cpp/api/README.mdx
  • sdks/cpp/api/_pages.json
  • sdks/cpp/api/resq-common/resq-ArrayUtils.md
  • sdks/cpp/api/resq-common/resq-FileHandle.md
  • sdks/cpp/api/resq-common/resq-FileUtils.md
  • sdks/cpp/api/resq-common/resq-Result( void ).md
  • sdks/cpp/api/resq-common/resq-Result.md
  • sdks/cpp/api/resq-common/resq-StringUtils.md
  • sdks/cpp/api/resq-common/resq-common-geo-GeoPoint.md
  • sdks/cpp/api/resq-common/resq-common-geo-GeoSegment.md
  • sdks/cpp/api/resq-common/resq-common-geo-NoFlyZone.md
  • sdks/cpp/api/resq-common/resq-common-geo.md
  • sdks/cpp/api/resq-common/resq-common-time.md
  • sdks/cpp/api/resq-common/resq-common.md
  • sdks/cpp/api/resq-common/resq-dsa-BloomFilter.md
  • sdks/cpp/api/resq-common/resq-dsa-BoundedHeap.md
  • sdks/cpp/api/resq-common/resq-dsa-CountMinSketch.md
  • sdks/cpp/api/resq-common/resq-dsa-Graph-PathResult.md
  • sdks/cpp/api/resq-common/resq-dsa-Graph.md
  • sdks/cpp/api/resq-common/resq-dsa-Trie-Node.md
  • sdks/cpp/api/resq-common/resq-dsa-Trie.md
  • sdks/cpp/api/resq-common/resq-dsa.md
  • sdks/cpp/api/resq-common/resq-env.md
  • sdks/cpp/api/resq-common/resq.md
  • sdks/cpp/api/resq-common/std.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch auto/cpp-api-main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added area:content MDX/MD documentation content area:meta Repo meta — docs.json, README, etc. labels May 10, 2026
@WomB0ComB0 WomB0ComB0 merged commit 2e65886 into main May 10, 2026
14 checks passed
@WomB0ComB0 WomB0ComB0 deleted the auto/cpp-api-main branch May 10, 2026 04:54
WomB0ComB0 pushed a commit that referenced this pull request May 10, 2026
Auto-PR #50 (cpp) merged first and added the C++ subgroup to
docs.json's Generated Package References. Rebasing #49 (rust) over
that produced a docs.json conflict.

Resolve by re-running scripts/splice-sdk-nav.py, which is the
canonical local splicer. Discovered while resolving that the script
only knew about TS/Python/.NET, so adding Rust + C++ to its
lang_specs at the same time. Without that, every local splice run
would silently drop Rust + C++ subgroups.
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces comprehensive auto-generated C++ API documentation for the ResQ SDK, covering a wide range of modules including common utilities (ArrayUtils, FileUtils, StringUtils), geospatial tools (GeoPoint, NoFlyZone), and various data structures (BloomFilter, Graph, Trie). The review feedback identifies several issues in the generated output that should be addressed at the source-level XML documentation or within the generator logic to ensure persistence. Key issues include broken Markdown links due to special characters, invalid C++ code in examples caused by embedded link syntax, redundant license headers, structural errors in documentation sections, missing method descriptions, and the use of filenames that are not URL-friendly.

| [`ArrayUtils`](./resq-ArrayUtils.md#arrayutils) | Fast operations on sorted uint32_t arrays. |
| [`FileHandle`](./resq-FileHandle.md#filehandle) | RAII file handle that ensures closure. |
| [`Result`](./resq-Result.md#result) | [Result](./resq-Result.md#result) type representing either success (Ok) or failure (Err) |
| [`Result< void >`](resq-Result( void ).md#resultvoid) | Specialization for void (operation succeeded with no return value) |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Markdown link for Result< void > is broken because the URL contains spaces and parentheses. Please apply the fix (wrapping the URL in angle brackets <...> in the link part) to the source-level XML documentation instead of this generated file to ensure the fix persists across regeneration cycles.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

uint32_t assigned[] = {2, 3, 4, 5};

uint32_t* free_drones = nullptr;
size_t count = [ArrayUtils::exclude_scalar](#exclude_scalar)(available, 5, assigned, 4, &free_drones);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Markdown link syntax [Text](#anchor) is used inside a C++ code block, which results in invalid C++ code. Please remove this link syntax from the source-level XML documentation to ensure the generated example is valid and copy-pasteable.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

Comment on lines +52 to +56
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
```
http://www.apache.org/licenses/LICENSE-2.0
```
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The license header is repeated multiple times throughout this file. This appears to be an artifact of the documentation generator. Please apply a fix to the generator logic or the source files rather than this generated file, as per repository rules for auto-generated documentation.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

#### Returns
true if element possibly exists, false if definitely not exists

#### Parameters
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The #### Parameters header is incorrectly placed inside the Returns section. Please correct this structural error in the source-level XML doc comments rather than editing this generated file.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

| `void` | [`split_respecting_quotes`](#split_respecting_quotes) `static` `inline` | Split keeping quoted sections intact. |
| `std::string` | [`remove_whitespace`](#remove_whitespace) `static` `inline` | Remove all whitespace from string. |
| `std::string` | [`pad_left`](#pad_left) `static` `inline` | Pad string to width with fill character. |
| `std::string` | [`pad_right`](#pad_right) `static` `inline` | |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for pad_right is missing in the summary table. Please add the missing documentation to the source-level XML doc comments to ensure it persists in future builds.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

| `std::vector< uint32_t >` | [`union_of`](#union_of) `static` `inline` | Union of two vectors (returns new vector) |
| `std::vector< uint32_t >` | [`exclude`](#exclude) `static` `inline` | Exclude elements (a - b) (returns new vector) |
| `bool` | [`contains`](#contains) `static` `inline` | Check if element exists in sorted array. |
| `bool` | [`contains`](#contains-1) `static` `inline` | |
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The description for the vector-based contains method is missing in the summary table. Please add the missing documentation to the source-level XML doc comments.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

@@ -0,0 +1,165 @@
## Result&lt; void >
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The filename resq-Result( void ).md contains spaces and parentheses, which can lead to broken links and issues with URL routing. Please update the source entity name or the generator configuration to produce a URL-friendly filename like resq-Result-void.md.

References
  1. When fixing errors in auto-generated documentation, apply the changes to the source-level documentation (e.g., XML doc comments) instead of the generated files to ensure the fixes persist across regeneration cycles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:content MDX/MD documentation content area:meta Repo meta — docs.json, README, etc. automated docs:api-ref language:cpp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants