clear is a mandatory method for this class.
Change-Id: I5a4a571b9f8c85e06ca98214c42ac610a3cde9ba
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Change-Id: I5a4a571b9f8c85e06ca98214c42ac610a3cde9ba
Reviewed-on: https://gerrit.iotivity.org/gerrit/1649
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
Value& at(const std::string&);
const Value& at(const std::string&) const;
+ void clear();
bool erase(const std::string&);
bool contains(const std::string&) const;
}
}
+ void ResourceAttributes::clear()
+ {
+ return m_values.clear();
+ }
+
bool ResourceAttributes::erase(const std::string& key)
{
return m_values.erase(key) == 1U;