7#include <Common/logging.h>
54 std::vector<const ISdlResource*>& out_resources)
const = 0;
66 std::string m_typeName;
67 std::string m_description;
Definition ISdlInstantiable.h:12
Data that SDL input process can rely on.
Definition SdlInputContext.h:19
Definition SdlOutputClauses.h:14
Data that SDL output process can rely on.
Definition SdlOutputContext.h:19
Definition SdlStruct.h:25
std::size_t numFields() const override=0
std::string_view getDescription() const override
Definition SdlStruct.h:77
SdlStruct & setDescription(std::string description)
Definition SdlStruct.cpp:17
const SdlField * getField(std::size_t index) const override=0
virtual void initObject(AnyNonConstPtr obj, SdlInputClauses &clauses, const SdlInputContext &ctx) const =0
Initialize a struct object from value clauses. How the object will be initialized depends on the stru...
SdlStruct(std::string typeName)
Definition SdlStruct.cpp:10
virtual void saveObject(AnyConstPtr obj, SdlOutputClauses &clauses, const SdlOutputContext &ctx) const =0
std::string_view getTypeName() const override
Definition SdlStruct.h:72
virtual void initDefaultObject(AnyNonConstPtr obj) const =0
Initialize a struct object to default values. Default values are defined by the struct's SDL definiti...
virtual void referencedResources(AnyConstPtr obj, std::vector< const ISdlResource * > &out_resources) const =0
Get all SDL resources referenced by obj.
The root for all renderer implementations.
Definition EEngineProject.h:6
PH_DEFINE_EXTERNAL_LOG_GROUP(ApiDatabase, Core)