载入中...
搜索中...
未找到
eve::editor::ActionPreviewProfileStore类 参考

Disk sidecar store keyed only by stable action AssetGuid. 更多...

#include <ActionPreviewProfile.h>

Public 成员函数

EVENGINE_API_EDITORS ActionPreviewProfileStore (std::filesystem::path projectRoot)
 Construct a store rooted at one project directory retained by value.
 
EVENGINE_API_EDITORS Result< void > save (const ActionPreviewProfile &profile) const
 Atomically validate and save one profile under .eve/action-preview.
 
EVENGINE_API_EDITORS Result< ActionPreviewProfile > load (const AssetGuid &actionAsset) const
 Load and validate one profile without modifying caller state on failure.
 
EVENGINE_API_EDITORS std::filesystem::path pathFor (const AssetGuid &actionAsset) const
 Return the stable sidecar path for diagnostics and file watching.
 

详细描述

Disk sidecar store keyed only by stable action AssetGuid.

在文件 ActionPreviewProfile.h 第 110 行定义.

构造及析构函数说明

◆ ActionPreviewProfileStore()

eve::editor::ActionPreviewProfileStore::ActionPreviewProfileStore ( std::filesystem::path  projectRoot)
explicit

Construct a store rooted at one project directory retained by value.

在文件 ActionPreviewProfile.cpp 第 259 行定义.

成员函数说明

◆ load()

Result< ActionPreviewProfile > eve::editor::ActionPreviewProfileStore::load ( const AssetGuid &  actionAsset) const

Load and validate one profile without modifying caller state on failure.

在文件 ActionPreviewProfile.cpp 第 307 行定义.

引用了 eve::Diagnostic::error(), eve::Failed, eve::Result< T >::failure(), eve::Value::fromJson(), eve::editor::ActionPreviewProfile::fromValue(), input, eve::NotFound, pathFor(), source , 以及 value.

◆ pathFor()

std::filesystem::path eve::editor::ActionPreviewProfileStore::pathFor ( const AssetGuid &  actionAsset) const

Return the stable sidecar path for diagnostics and file watching.

在文件 ActionPreviewProfile.cpp 第 262 行定义.

引用了 eve::UuidIdAdapter< Tag >::format().

被这些函数引用 load() , 以及 save().

◆ save()

Result< void > eve::editor::ActionPreviewProfileStore::save ( const ActionPreviewProfile &  profile) const

该类的文档由以下文件生成: