Home
last modified time | relevance | path

Searched defs:Serializable (Results 1 – 3 of 3) sorted by relevance

/foundation/distributeddatamgr/pasteboard/framework/framework/include/serializable/
Dserializable.h31 struct Serializable { struct
89 API_EXPORT ~Serializable() = default; argument
92 static bool GetValue(const json node, const std::string &name, std::vector<T> &values) in GetValue()
108 static bool SetNumber(json &node, const T &value, const std::string &name) in SetNumber()
120 static bool GetNumber(const json node, const std::string &name, T &value) in GetNumber()
131 static void SetValueToObject(json &node, json subNode, const std::string &name) in SetValueToObject()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/
Dserializable.h30 struct Serializable { struct
33 using size_type = nlohmann::json::size_type;
34 using error_handler_t = nlohmann::detail::error_handler_t;
37 static std::string Marshall(T &values) in Marshall()
61 API_EXPORT static bool GetValue(const json &node, const std::string &name, Serializable &value); argument
75 static bool GetValue(const json &node, const std::string &name, T *&value) in GetValue()
93 static bool GetValue(const json &node, const std::string &name, std::vector<T> &values) in GetValue()
108 static bool SetValue(json &node, const std::vector<T> &values) in SetValue()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/serializable/
Dserializable.h31 struct Serializable { struct
34 using size_type = nlohmann::json::size_type;
35 using error_handler_t = nlohmann::detail::error_handler_t;
39 static std::string Marshall(T &values) in Marshall()
64 API_EXPORT static bool GetValue(const json &node, const std::string &name, Serializable &value); argument
81 API_EXPORT static bool SetValue(json &node, const Serializable &value); argument