7#include <Common/logging.h>
21 SdlField(std::string typeName, std::string fieldName);
25 std::string fieldName,
26 std::string typeSignature);
64 std::string m_typeName;
65 std::string m_fieldName;
66 std::string m_description;
67 std::string m_typeSignature;
69 bool m_isFallbackEnabled;
91 return m_typeSignature;
101 return m_isFallbackEnabled;
106 m_description = std::move(descriptionStr);
113 m_importance = importance;
SdlField(std::string typeName, std::string fieldName)
Definition SdlField.cpp:9
SdlField & setEnableFallback(bool isFallbackEnabled)
Definition SdlField.h:118
std::string_view getFieldName() const
Definition SdlField.h:79
bool isFallbackEnabled() const
Whether the field want to use built-in mechanism to handle I/O problems. An example of this is defaul...
Definition SdlField.h:99
virtual SdlNativeData nativeData(SdlNonConstInstance instance) const =0
Direct access to the field memory of a SDL instance. Note that this field may not necessarily be boun...
std::string_view getDescription() const
Definition SdlField.h:84
std::string_view getTypeSignature() const
Definition SdlField.h:89
std::string_view getTypeName() const
Definition SdlField.h:74
SdlField & setImportance(EFieldImportance importance)
Sets the importance of the field. Different importance affect the underlying policy used during the i...
Definition SdlField.h:111
std::string genPrettyName() const
Definition SdlField.cpp:32
SdlField & setDescription(std::string descriptionStr)
Definition SdlField.h:104
EFieldImportance getImportance() const
Definition SdlField.h:94
Definition SdlNativeData.h:88
References a SDL object. This is a lightweight utility for referencing SDL objects....
Definition TSdlAnyInstance.h:20
The root for all renderer implementations.
Definition EEngineProject.h:6
EFieldImportance
Definition EFieldImportance.h:7
PH_DEFINE_EXTERNAL_LOG_GROUP(ApiDatabase, Core)