refactor api documentation structure

This commit is contained in:
2026-03-26 16:45:24 +08:00
parent 45842e961e
commit 6244b586bb
4389 changed files with 80504 additions and 69241 deletions

View File

@@ -0,0 +1,30 @@
# IAllocator::GetTotalAllocated
获取相关状态或对象。
```cpp
virtual size_t GetTotalAllocated() const = 0;
```
该方法声明于 `XCEngine/Memory/Allocator.h`,当前页面用于固定 `IAllocator` 类目录下的方法级 canonical 路径。
**参数:** 无。
**返回:** `size_t` - 返回值语义详见头文件声明。
**示例:**
```cpp
#include <XCEngine/Memory/Allocator.h>
void Example() {
XCEngine::Memory::IAllocator object;
// 根据上下文补齐参数后调用 IAllocator::GetTotalAllocated(...)。
(void)object;
}
```
## 相关文档
- [返回类总览](Allocator.md)
- [返回模块目录](../Memory.md)