4#include "io/serializers/IFieldSerializer.hpp"
43 toml::value* pTomlData,
45 const rfk::Field* pField,
46 const std::string& sSectionName,
47 const std::string& sEntityId,
67 const toml::value* pTomlDocument,
68 const toml::value* pTomlValue,
70 const rfk::Field* pField,
71 const std::string& sOwnerSectionName,
72 const std::string& sEntityId,
73 std::unordered_map<std::string, std::string>& customAttributes)
override;
85 [[nodiscard]]
virtual std::optional<Error>
cloneField(
87 const rfk::Field* pFromField,
89 const rfk::Field* pToField)
override;
104 const rfk::Field* pFieldA,
106 const rfk::Field* pFieldB)
override;
Definition: IFieldSerializer.hpp:33
Definition: Serializable.h:113
Definition: StringFieldSerializer.h:10
virtual bool isFieldTypeSupported(const rfk::Field *pField) override
Definition: StringFieldSerializer.cpp:7
virtual std::optional< Error > cloneField(Serializable *pFromInstance, const rfk::Field *pFromField, Serializable *pToInstance, const rfk::Field *pToField) override
Definition: StringFieldSerializer.cpp:69
virtual bool isFieldValueEqual(Serializable *pFieldAOwner, const rfk::Field *pFieldA, Serializable *pFieldBOwner, const rfk::Field *pFieldB) override
Definition: StringFieldSerializer.cpp:89
virtual std::optional< Error > serializeField(toml::value *pTomlData, Serializable *pFieldOwner, const rfk::Field *pField, const std::string &sSectionName, const std::string &sEntityId, size_t &iSubEntityId, Serializable *pOriginalObject=nullptr) override
Definition: StringFieldSerializer.cpp:13
virtual std::optional< Error > deserializeField(const toml::value *pTomlDocument, const toml::value *pTomlValue, Serializable *pFieldOwner, const rfk::Field *pField, const std::string &sOwnerSectionName, const std::string &sEntityId, std::unordered_map< std::string, std::string > &customAttributes) override
Definition: StringFieldSerializer.cpp:37
static const std::string sStringCanonicalTypeName
Definition: StringFieldSerializer.h:110