22template <
typename Key,
typename Val>
37 template <
typename InputIterator>
38 dict(InputIterator first, InputIterator last);
44 std::size_t
size(
void)
const;
51 std::vector<Key>
keys(
void)
const;
58 std::vector<Val>
vals(
void)
const;
73 const Val&
get(
const Key& key,
const Val& other)
const;
80 const Val&
get(
const Key& key)
const;
87 void set(
const Key& key,
const Val& val);
147 operator std::map<Key, Val>()
const;
150 typedef std::pair<Key, Val> pair_t;
151 std::list<pair_t> _map;
std::vector< Key > keys(void) const
Definition dict.ipp:52
const Val & get(const Key &key) const
Definition dict.ipp:92
std::vector< Val > vals(void) const
Definition dict.ipp:62
bool operator==(const dict< Key, Val > &other) const
Definition dict.ipp:129
void update(const dict< Key, Val > &new_dict, bool fail_on_conflict=true)
Definition dict.ipp:163
dict(InputIterator first, InputIterator last)
Definition dict.ipp:40
const Val & operator[](const Key &key) const
Definition dict.ipp:108
std::size_t size(void) const
Definition dict.ipp:46
Val & operator[](const Key &key)
Definition dict.ipp:118
bool operator!=(const dict< Key, Val > &other) const
Definition dict.ipp:143
bool has_key(const Key &key) const
Definition dict.ipp:72
dict(void)
Definition dict.ipp:33
const Val & get(const Key &key, const Val &other) const
Definition dict.ipp:82
Val pop(const Key &key)
Definition dict.ipp:149
void set(const Key &key, const Val &val)
Definition dict.ipp:102
#define UHD_API_HEADER
Definition config.h:88
Definition build_info.hpp:12