Home
last modified time | relevance | path

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

/art/libartbase/base/
Dvariant_map.h213 struct VariantMap { struct
216 using Key = TKey<TValue>;
221 const TValue* Get(const TKey<TValue>& key) const { in Get()
228 TValue* Get(const TKey<TValue>& key) { in Get()
235 std::optional<TValue> GetOptional(const TKey<TValue>& key) const { in GetOptional()
260 ScopedRemove(VariantMap& map, const TKey<TValue>& key) : map_(map), key_(key) {} in ScopedRemove() argument
273 TValue ReleaseOrDefault(const TKey<TValue>& key) { in ReleaseOrDefault()
286 bool Exists(const TKey<TValue>& key) const { in Exists()
293 void Set(const TKey<TValue>& key, const typename Identity<TValue>::type& value) { in Set()
306 bool SetIfMissing(const TKey<TValue>& key, const typename Identity<TValue>::type& value) { in SetIfMissing()
[all …]