载入中...
搜索中...
未找到
BalanceCodec.h
浏览该文件的文档.
1#pragma once
2
3#include "agent/Balance.h"
4#include "common/Value.h"
5
6namespace eve::agent::balance {
12[[nodiscard]] EVENGINE_API_FOUNDATION Result<Problem> decodeProblem(const Value& value);
17[[nodiscard]] EVENGINE_API_FOUNDATION Value encodeBalanceReport(const Report& report);
18} // namespace eve::agent::balance
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
Object::Ptr value
Owning, renderer-independent dynamic values.
Result< Problem > decodeProblem(const Value &value)
Decode version-1 problem data; reject unknown schema/version/fields and invalid types.
Value encodeBalanceReport(const Report &r)
Project an owning version-1 evidence report, including the full reproduction specification....
std::variant< std::monostate, std::int64_t, double, std::string, bool > Value
Definition Database.h:27