|
MVault 1.0.0
Simple c++ database
|
The descendant of the ParentMap class, which stores the map, i.e. the binary tree. More...
#include <Map.h>


Public Member Functions | |
| Map (const bool &isMultiMap) noexcept | |
| Class constructor. | |
| MapIterator< KeyType, ValueType > | LowerBound (const KeyType &data) noexcept |
| Returns an iterator pointing to the first element that is not less than (i.e. greater or equal to) data. | |
| MapIterator< KeyType, ValueType > | UpperBound (const KeyType &data) noexcept |
| Returns an iterator pointing to the first element that is greater than key. | |
| ReverseMapIterator< KeyType, ValueType > | Rbegin () noexcept |
| Reverse begin container method. | |
| ReverseMapIterator< KeyType, ValueType > | Rend () noexcept |
| Reverse end container method. | |
Public Member Functions inherited from mvlt::ParentMap< std::multimap< KeyType, ValueType >, std::map< KeyType, ValueType >, MapIterator< KeyType, ValueType >, KeyType, ValueType > | |
| MapIterator< KeyType, ValueType > | begin () noexcept |
| Begin container method. | |
| MapIterator< KeyType, ValueType > | end () noexcept |
| End container method. | |
| MapIterator< KeyType, ValueType > | Begin () noexcept |
| Begin container method. | |
| MapIterator< KeyType, ValueType > | End () noexcept |
| End container method. | |
| bool | IsMultiContainer () const noexcept |
| The method to check if it is multi container. | |
| std::pair< MapIterator< KeyType, ValueType >, bool > | Emplace (EmplaceKeyType &&key, EmplaceValueType &&value) noexcept |
| The method for inserting data into the Map. | |
| std::pair< MapIterator< KeyType, ValueType >, MapIterator< KeyType, ValueType > > | EqualRange (const KeyType &data) noexcept |
| The method for getting range of data. | |
| MapIterator< KeyType, ValueType > | Find (const KeyType &data) noexcept |
| The method for getting iterator with key. | |
| std::size_t | Erase (const KeyType &data) noexcept |
| The method for erase data from Map with key. | |
| MapIterator< KeyType, ValueType > | Erase (const MapIterator< KeyType, ValueType > &dataIt) noexcept |
| The method for erase data from Map with iterator. | |
| void | Clear () noexcept |
| The method for clear Map. | |
| std::size_t | Size () noexcept |
| The method for get Map size. | |
Additional Inherited Members | |
Protected Attributes inherited from mvlt::ParentMap< std::multimap< KeyType, ValueType >, std::map< KeyType, ValueType >, MapIterator< KeyType, ValueType >, KeyType, ValueType > | |
| bool | IsMultiMap |
| Is this multi map. | |
| std::multimap< KeyType, ValueType > | DataMultiMap |
| Multi container. | |
| std::map< KeyType, ValueType > | DataMap |
| Container. | |
The descendant of the ParentMap class, which stores the map, i.e. the binary tree.
Class constructor.
| [in] | isMultiMap | is this UnorderedMap store data in std::multimap |
|
inlinenoexcept |
Returns an iterator pointing to the first element that is not less than (i.e. greater or equal to) data.
| [in] | data | lower bound |
Reverse begin container method.
Reverse end container method.
|
inlinenoexcept |
Returns an iterator pointing to the first element that is greater than key.
| [in] | data | lower bound |