5#include "cdm/engine/SEAction.h"
8enum class eSerialization_Mode { Save = 0, Load };
9extern CDM_DECL
const std::string& eSerialization_Mode_Name(eSerialization_Mode m);
19 static constexpr char const* Name =
"Serialize State";
20 std::string
GetName()
const override {
return Name; }
22 void Clear()
override;
26 virtual eSerialization_Mode GetMode()
const;
27 virtual void SetMode(eSerialization_Mode m);
29 virtual bool HasFilename()
const;
30 virtual std::string GetFilename()
const;
31 virtual void SetFilename(
const std::string& filename);
32 virtual void InvalidateFilename();
Definition: PBActions.h:15
Definition: SEAction.h:14
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual bool IsValid() const
Definition: SEAction.h:35
virtual void Clear()
Definition: SEAction.cpp:21
Definition: SEScalar.h:19
Definition: SESerializeState.h:12
std::string m_Filename
Definition: SESerializeState.h:38
std::string GetName() const override
Definition: SESerializeState.h:20
eSerialization_Mode m_Mode
Definition: SESerializeState.h:39