4#include "io/serializers/IFieldSerializer.hpp"
44 toml::value* pTomlData,
46 const rfk::Field* pField,
47 const std::string& sSectionName,
48 const std::string& sEntityId,
68 const toml::value* pTomlDocument,
69 const toml::value* pTomlValue,
71 const rfk::Field* pField,
72 const std::string& sOwnerSectionName,
73 const std::string& sEntityId,
74 std::unordered_map<std::string, std::string>& customAttributes)
override;
86 [[nodiscard]]
virtual std::optional<Error>
cloneField(
88 const rfk::Field* pFromField,
90 const rfk::Field* pToField)
override;
105 const rfk::Field* pFieldA,
107 const rfk::Field* pFieldB)
override;
Definition: IFieldSerializer.hpp:33
Definition: Serializable.h:113
Definition: UnorderedMapFieldSerializer.h:11
virtual bool isFieldTypeSupported(const rfk::Field *pField) override
Definition: UnorderedMapFieldSerializer.cpp:7
virtual std::optional< Error > cloneField(Serializable *pFromInstance, const rfk::Field *pFromField, Serializable *pToInstance, const rfk::Field *pToField) override
Definition: UnorderedMapFieldSerializer.cpp:342
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: UnorderedMapFieldSerializer.cpp:39
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: UnorderedMapFieldSerializer.cpp:263
virtual bool isFieldValueEqual(Serializable *pFieldAOwner, const rfk::Field *pFieldA, Serializable *pFieldBOwner, const rfk::Field *pFieldB) override
Definition: UnorderedMapFieldSerializer.cpp:384