Sorted map (ordered key-value).
More...
#include <cl_OrderedMap.hpp>
|
| using | const_iterator = typename std::map< Key, Value >::const_iterator |
|
| | OrderedMap ()=default |
| | empty constructor
|
| | OrderedMap (const OrderedMap< Key, Value > &aMap)=default |
| | copy constructor
|
| | OrderedMap (OrderedMap< Key, Value > &&other) noexcept=default |
| | move constructor
|
| OrderedMap< Key, Value > & | operator= (const OrderedMap< Key, Value > &other)=default |
| | Copy assignment operator.
|
| OrderedMap< Key, Value > & | operator= (OrderedMap< Key, Value > &&other) noexcept=default |
| | Move assignment operator constructor.
|
| | ~OrderedMap ()=default |
| | default destructor
|
| void | clear () |
| | clear map
|
| size_t | size () const |
| | returns the size of the map
|
| Value & | operator[] (const Key &aKey) |
| | insert operator
|
| bool | key_exists (const Key &aKey) const |
| auto | begin () const -> decltype(mMap.begin()) |
| auto | end () const -> decltype(mMap.end()) |
| auto | find (const Key &tKey) const -> decltype(mMap.find(tKey)) |
| auto | empty () const -> decltype(mMap.empty()) |
| void | erase_key (const Key &aKey) |
| auto | map_data () -> decltype(mMap) & |
| Value & | operator() (const Key &aKey) |
| | find operator
|
| const Value & | operator() (const Key &aKey) const |
| | find operator ( const variant )
|
template<typename Key, typename Value>
class belfem::OrderedMap< Key, Value >
Sorted map (ordered key-value).
- See also
- BELFEM Container Classes - Usage Guide
◆ const_iterator
template<typename Key, typename Value>
| using belfem::OrderedMap< Key, Value >::const_iterator = typename std::map< Key, Value >::const_iterator |
◆ OrderedMap() [1/3]
template<typename Key, typename Value>
◆ OrderedMap() [2/3]
template<typename Key, typename Value>
◆ OrderedMap() [3/3]
template<typename Key, typename Value>
◆ ~OrderedMap()
template<typename Key, typename Value>
◆ begin()
template<typename Key, typename Value>
◆ clear()
template<typename Key, typename Value>
◆ empty()
template<typename Key, typename Value>
◆ end()
template<typename Key, typename Value>
◆ erase_key()
template<typename Key, typename Value>
◆ find()
template<typename Key, typename Value>
| auto belfem::OrderedMap< Key, Value >::find |
( |
const Key & | tKey | ) |
const -> decltype(mMap.find(tKey)) |
|
inline |
◆ key_exists()
template<typename Key, typename Value>
◆ map_data()
template<typename Key, typename Value>
◆ operator()() [1/2]
template<typename Key, typename Value>
◆ operator()() [2/2]
template<typename Key, typename Value>
find operator ( const variant )
◆ operator=() [1/2]
template<typename Key, typename Value>
Copy assignment operator.
◆ operator=() [2/2]
template<typename Key, typename Value>
Move assignment operator constructor.
◆ operator[]()
template<typename Key, typename Value>
◆ size()
template<typename Key, typename Value>
returns the size of the map
The documentation for this class was generated from the following file: