Lines Matching refs:Writing
36 template <typename T> bool API_EXPORT Writing(const T &input, TLVObject &data, TAG tag);
40 template <typename... _Types> bool API_EXPORT Writing(const std::variant<_Types...> &input, TLVObject &data, TAG tag);
45 template <typename T> bool API_EXPORT Writing(const std::shared_ptr<T> &input, TLVObject &data, TAG tag);
49 template <typename T> bool API_EXPORT Writing(const std::vector<T> &input, TLVObject &data, TAG tag);
53 template <typename T, typename R> bool API_EXPORT Writing(const std::map<T, R> &input, TLVObject &data, TAG tag);
57 template <> bool API_EXPORT Writing(const std::nullptr_t &input, TLVObject &data, TAG tag);
61 template <> bool API_EXPORT Writing(const std::monostate &input, TLVObject &data, TAG tag);
65 template <> bool API_EXPORT Writing(const std::string &input, TLVObject &data, TAG tag);
69 template <> bool API_EXPORT Writing(const std::vector<uint8_t> &input, TLVObject &data, TAG tag);
73 template <> bool API_EXPORT Writing(const UDType &input, TLVObject &data, TAG tag);
77 template <> bool API_EXPORT Writing(const DataStatus &input, TLVObject &data, TAG tag);
81 template <> bool API_EXPORT Writing(const Object &input, TLVObject &data, TAG tag);
85 template <> bool API_EXPORT Writing(const UnifiedKey &input, TLVObject &data, TAG tag);
89 template <> bool API_EXPORT Writing(const UnifiedData &input, TLVObject &data, TAG tag);
93 template <> bool API_EXPORT Writing(const UnifiedRecord &input, TLVObject &data, TAG tag);
97 template <> bool API_EXPORT Writing(const Runtime &input, TLVObject &data, TAG tag);
101 template <> bool API_EXPORT Writing(const Privilege &input, TLVObject &data, TAG tag);
105 template <> bool API_EXPORT Writing(const std::shared_ptr<OHOS::Media::PixelMap> &input, TLVObject &data, TAG tag);
110 template <> bool API_EXPORT Writing(const std::shared_ptr<OHOS::AAFwk::Want> &input, TLVObject &data, TAG tag);
144 template <typename T> bool Writing(const T &input, TLVObject &data, TAG tag)
163 template <typename T> bool Writing(const std::shared_ptr<T> &input, TLVObject &data, TAG tag)
169 return Writing(*input, data, tag);
189 template <typename T> bool Writing(const std::vector<T> &input, TLVObject &data, TAG tag)
199 if (!Writing(item, data, TAG::TAG_VECTOR_ITEM)) {
239 template <typename T, typename R> bool Writing(const std::map<T, R> &input, TLVObject &data, TAG tag)
248 if (!TLVUtil::Writing(item.first, data, TAG::TAG_MAP_KEY)) {
251 if (!TLVUtil::Writing(item.second, data, TAG::TAG_MAP_VALUE)) {
328 return Writing(val, data, tag);
333 template <typename... _Types> bool Writing(const std::variant<_Types...> &input, TLVObject &data, TAG tag)