This class is a simple iterator to iterate over a container with the specified ids.
More...
|
| | IndexMapIterator () |
| | Basic constructor to respect iterator interface. More...
|
| |
| | IndexMapIterator (IdsIterator id, Container &items) |
| | Basic constructor. More...
|
| |
| auto | toContainerId () const |
| | This function returns the equivalent item id of this iterator in its container. More...
|
| |
| auto & | operator* () |
| |
| const auto & | operator* () const |
| |
| auto | operator-> () |
| |
| auto | operator-> () const |
| |
| bool | operator== (IndexMapIterator other) const |
| |
| bool | operator!= (IndexMapIterator other) const |
| |
| auto & | operator++ () |
| |
| auto | operator++ (int) |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::bidirectional_iterator_tag> || std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator-- () |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::bidirectional_iterator_tag> || std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator-- (int) |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator+ (difference_type diff) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator+= (difference_type diff) |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator- (difference_type diff) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator-= (difference_type diff) |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto | operator- (IndexMapIterator other) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| bool | operator< (IndexMapIterator other) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| bool | operator> (IndexMapIterator other) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| bool | operator<= (IndexMapIterator other) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| bool | operator>= (IndexMapIterator other) const |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| auto & | operator[] (difference_type diff) |
| |
| template<typename U = iterator_category, typename = std::enable_if_t<std::is_same_v<U, std::random_access_iterator_tag>>> |
| const auto & | operator[] (difference_type diff) const |
| |
template<typename IdsIterator, typename Container>
class AIToolbox::IndexMapIterator< IdsIterator, Container >
This class is a simple iterator to iterate over a container with the specified ids.