载入中...
搜索中...
未找到
Shared Value codec for thin condition::Condition trees. 更多...
#include "common/Export.h"#include "common/Condition.h"#include "common/Result.h"#include "common/Value.h"命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::condition |
函数 | |
| eve::Result< eve::Value > | eve::condition::encodeCondition (const Condition &condition) |
| Encode one validated condition tree as an owning Value. | |
| eve::Result< Condition > | eve::condition::decodeCondition (const eve::Value &value) |
| Decode one condition tree from an owning Value. | |
详细描述
Shared Value codec for thin condition::Condition trees.
Encode emits only All/Any/Not/Compare/PolicyCall. Decode additionally accepts legacy leaf kinds (has_tag, has_attribute, has_resource, state_equals, authority_check) and expands them into Compare / PolicyCall conventions.
在文件 ConditionCodec.h 中定义.