PBConditions.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5CDM_BIND_DECL2(Condition)
6CDM_BIND_DECL(AnyConditionData)
8
9class CDM_DECL PBCondition
10{
11public:
12
14 static SECondition* Load(const CDM_BIND::AnyConditionData& condition, const SESubstanceManager& subMgr);
16 static CDM_BIND::AnyConditionData* Unload(const SECondition& condition);
17 static void Serialize(const CDM_BIND::ConditionData& src, SECondition& dst);
18 static void Serialize(const SECondition& src, CDM_BIND::ConditionData& dst);
19 static bool SerializeToString(const SECondition& c, std::string& output, eSerializationFormat fmt = eSerializationFormat::JSON);
20 static SECondition* SerializeFromString(const std::string& src, eSerializationFormat fmt, const SESubstanceManager& subMgr);
21};
Definition: PBConditions.h:10
Definition: SECondition.h:8
Definition: SESubstanceManager.h:9

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.