PBCondition Class Reference

#include <PBConditions.h>

Static Public Member Functions

static SEConditionLoad (const CDM_BIND::AnyConditionData &condition, const SESubstanceManager &subMgr)
 
static CDM_BIND::AnyConditionData * Unload (const SECondition &condition)
 
static void Serialize (const CDM_BIND::ConditionData &src, SECondition &dst)
 
static void Serialize (const SECondition &src, CDM_BIND::ConditionData &dst)
 
static bool SerializeToString (const SECondition &c, std::string &output, eSerializationFormat fmt=eSerializationFormat::JSON)
 
static SEConditionSerializeFromString (const std::string &src, eSerializationFormat fmt, const SESubstanceManager &subMgr)
 

Member Function Documentation

◆ Load()

PUSH_PROTO_WARNINGS POP_PROTO_WARNINGS SECondition * PBCondition::Load ( const CDM_BIND::AnyConditionData &  condition,
const SESubstanceManager subMgr 
)
static

Create a new action based on the binding object, load that data into the new action, and return said action

◆ Serialize() [1/2]

void PBCondition::Serialize ( const CDM_BIND::ConditionData &  src,
SECondition dst 
)
static

◆ Serialize() [2/2]

void PBCondition::Serialize ( const SECondition src,
CDM_BIND::ConditionData &  dst 
)
static

◆ SerializeFromString()

SECondition * PBCondition::SerializeFromString ( const std::string &  src,
eSerializationFormat  fmt,
const SESubstanceManager subMgr 
)
static

◆ SerializeToString()

bool PBCondition::SerializeToString ( const SECondition c,
std::string &  output,
eSerializationFormat  fmt = eSerializationFormat::JSON 
)
static

◆ Unload()

CDM_BIND::AnyConditionData * PBCondition::Unload ( const SECondition condition)
static

Create a new bind object, unload the action, put that in the bind object, and return said bind object

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.