4#include <system/collections/keyvalue_pair.h>
5#include <system/collections/iread_only_collection.h>
17template<
typename TKey,
typename TValue>
23 using BaseTypesInfo = System::BaseTypesInfo<IReadOnlyCollection<KeyValuePair<TKey, TValue>>>;
25 RTTI_INFO_TEMPLATE_CLASS(
ThisType, BaseTypesInfo);
36 virtual bool TryGetValue(
const TKey& key, TValue& value)
const = 0;
41 virtual TValue
idx_get(
const TKey& key)
const = 0;
Interface of read-only collection of elements. Objects of this class should only be allocated using S...
Definition: iread_only_collection.h:19
Interface for read-only dictionary-alike containers. Objects of this class should only be allocated u...
Definition: iread_only_dictionary.h:19
virtual bool ContainsKey(const TKey &key) const =0
Checks if container contains key.
virtual bool TryGetValue(const TKey &key, TValue &value) const =0
Looks for value and retreives it if found.
virtual TValue idx_get(const TKey &key) const =0
Getter function.
Definition: db_command.h:9