MVault 0.0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mvlt::AllMapIterator< MultiContainerIterator, ContainerIterator, KeyType, ValueType > Class Template Reference

Iterator class for all library maps. More...

#include <Map.h>

Public Member Functions

 AllMapIterator ()
 Default constructor.
 
 AllMapIterator (MultiContainerIterator dataMultiMapIt, ContainerIterator dataMapIt, bool isMultiMap)
 Constructor.
 
 AllMapIterator (const AllMapIterator &other)
 Copy constructor.
 
AllMapIteratoroperator= (const AllMapIterator &other)
 Assignment operator.
 
bool operator!= (AllMapIterator const &other) const
 Not equal operator.
 
bool operator== (AllMapIterator const &other) const
 Compare operator.
 
AllMapIteratoroperator++ ()
 Pre increment operator.
 
AllMapIteratoroperator-- ()
 Pre decrement operator.
 
std::pair< KeyType, ValueTypeoperator* () const
 Operator*.
 
ContainerIterator GetContainerIterator () const
 Method for get container iterator.
 
MultiContainerIterator GetMultiContainerIterator () const
 Method for get multi container iterator.
 

Detailed Description

template<class MultiContainerIterator, class ContainerIterator, class KeyType, class ValueType>
class mvlt::AllMapIterator< MultiContainerIterator, ContainerIterator, KeyType, ValueType >

Iterator class for all library maps.

Template Parameters
<MultiContainerIterator>- The iterator type for the multi container
<ContainerIterator>- The type of iterator for the container
<KeyType>- The type of key for the map
<ValueType>- The type of value for the map

Constructor & Destructor Documentation

◆ AllMapIterator() [1/2]

Constructor.

Parameters
[in]dataMultiMapItiterator to multi container
[in]dataMapItiterator to container
[in]isMultiMapis this Map multi

◆ AllMapIterator() [2/2]

Copy constructor.

Parameters
[in]otherobject to copy data from

Member Function Documentation

◆ GetContainerIterator()

Method for get container iterator.

Returns
stl container iterator

◆ GetMultiContainerIterator()

Method for get multi container iterator.

Returns
stl multi container iterator

◆ operator!=()

Not equal operator.

Parameters
[in]otherobject to compare
Returns
true it other and this not equal

◆ operator*()

Operator*.

Returns
pair with iterator key and value

◆ operator++()

Pre increment operator.

Returns
incremented iterator

◆ operator--()

Pre decrement operator.

Returns
decremented iterator

◆ operator=()

Assignment operator.

Parameters
[in]otherobject to copy data from
Returns
assigned object

◆ operator==()

Compare operator.

Parameters
[in]otherobject to compare
Returns
true it other and this equal

The documentation for this class was generated from the following file: