6#include <Common/assertion.h>
7#include <Common/logging.h>
40 std::string_view
getName()
const;
49 std::string m_description;
55 m_name (
std::move(name)),
58 PH_ASSERT(!m_name.empty());
88 m_description = std::move(description);
Definition ISdlInstantiable.h:12
Interface for all SDL resource.
Definition ISdlResource.h:22
Definition SdlFunction.h:18
const SdlField * getField(std::size_t index) const override
Definition SdlFunction.h:66
std::size_t numFields() const override
Definition SdlFunction.h:61
SdlFunction(std::string name)
Definition SdlFunction.h:54
virtual void call(ISdlResource *resource, SdlInputClauses &clauses, const SdlInputContext &ctx) const =0
std::string_view getDescription() const override
Definition SdlFunction.h:81
std::string_view getName() const
Definition SdlFunction.h:76
virtual std::size_t numParams() const =0
SdlFunction & setDescription(std::string description)
Definition SdlFunction.h:86
std::string_view getTypeName() const override
Definition SdlFunction.h:71
virtual const SdlField * getParam(std::size_t index) const =0
std::string genPrettyName() const
Definition SdlFunction.cpp:7
Data that SDL input process can rely on.
Definition SdlInputContext.h:19
The root for all renderer implementations.
Definition EEngineProject.h:6
PH_DEFINE_EXTERNAL_LOG_GROUP(ApiDatabase, Core)