载入中...
搜索中...
未找到
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()

const ArtifactPart * eve::procgen::CompositeArtifact::find ( std::string_view  role) const
noexcept

Find a child by its stable role.

返回
A nullable borrowed pointer into this composite, or nullptr if no child has that role. @ownership Borrowed; CompositeArtifact::children owns 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 行定义.

引用了 children , 以及 found.

◆ has()

bool eve::procgen::CompositeArtifact::has ( std::string_view  role) const
inlinenoexcept

Return whether a role exists.

在文件 GeneratedArtifact.h 第 177 行定义.

类成员变量说明

◆ children

std::vector<ArtifactPart> eve::procgen::CompositeArtifact::children

在文件 GeneratedArtifact.h 第 162 行定义.

被这些函数引用 eve::procgen::generateRoadNetworkArtifact().


该结构体的文档由以下文件生成: