载入中...
搜索中...
未找到
eve::procgen::CompositeArtifact结构体 参考
A coherent set of products published from one deterministic build. 更多...
#include <GeneratedArtifact.h>
Public 成员函数 | |
| const ArtifactPart * | find (std::string_view role) const noexcept |
| Find a child by its stable role. | |
| bool | has (std::string_view role) const noexcept |
| Return whether a role exists. | |
Public 属性 | |
| std::vector< ArtifactPart > | children |
详细描述
A coherent set of products published from one deterministic build.
在文件 GeneratedArtifact.h 第 161 行定义.
成员函数说明
◆ find()
|
noexcept |
Find a child by its stable role.
- 返回
- A nullable borrowed pointer into this composite, or
nullptrif no child has that role. @ownership Borrowed;CompositeArtifact::childrenowns the child and the caller must not delete or retain the pointer after mutation. @nullable Yes, when the role is absent. @lifetime Valid until this composite is mutated, moved or destroyed. @thread Access is confined to the owner of this immutable published value. @reentrancy The function is side-effect free and invokes no callbacks.
在文件 GeneratedArtifact.cpp 第 1231 行定义.
◆ has()
|
inlinenoexcept |
Return whether a role exists.
在文件 GeneratedArtifact.h 第 177 行定义.
类成员变量说明
◆ children
| std::vector<ArtifactPart> eve::procgen::CompositeArtifact::children |
在文件 GeneratedArtifact.h 第 162 行定义.
该结构体的文档由以下文件生成:
- src/modules/procgen/GeneratedArtifact.h
- src/modules/procgen/GeneratedArtifact.cpp