17 template <
typename K,
typename V>
66 auto it = map.
begin();
68 const auto status = this->
insert(it->getKey(), it->getValue());
93 virtual Success remove(
const K& key,
void copyDataFrom(const MapBase< K, V > &map)
Copy data from another map.
PlatformSizeType FwSizeType
virtual ConstIterator begin() const =0
virtual FwSizeType getSize() const =0
MapConstIterator< K, V > ConstIterator
The type of a map const iterator.
virtual Success find(const K &key, V &value) const =0
MapBase()
Zero-argument constructor.
#define FW_MIN(a, b)
MIN macro.
virtual FwSizeType getCapacity() const =0
virtual ~MapBase()=default
Destructor.
virtual ConstIterator end() const =0
virtual void clear()=0
Clear the container.
virtual Success insert(const K &key, const V &value)=0