载入中...
搜索中...
未找到
FactStore.h 文件参考

Authoritative, rule-visible world facts implementing EvaluationContext. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include "decision/Condition.h"
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>

浏览源代码.

类

class  eve::emergence::FactStore
 Mutable fact bag that doubles as a read-only Condition evaluation context. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::emergence
 

枚举

enum class  eve::emergence::FactDomain : std::uint8_t {
  eve::emergence::Value , eve::emergence::Tag , eve::emergence::Attribute , eve::emergence::Resource ,
  eve::emergence::State , eve::emergence::Authority , eve::emergence::Policy
}
 Domain partition of a fact key used by the watch index. 更多...
 
enum class  eve::emergence::FactChange : std::uint8_t { eve::emergence::Unchanged = 0 , eve::emergence::Changed = 1 }
 Whether a FactStore mutation changed stored state. 更多...
 

函数

std::string eve::emergence::makeFactKey (FactDomain domain, std::string_view name)
 Build the canonical watch key for one fact domain.
 
eve::Result< std::pair< FactDomain, std::string > > eve::emergence::parseFactKey (std::string_view key)
 Parse a canonical watch key into domain and leaf name.
 

详细描述

Authoritative, rule-visible world facts implementing EvaluationContext.

在文件 FactStore.h 中定义.