|
|
using | ValType = typename UnderlyingTypes< KeyType, ValueType, ConstSwitch >::ValType |
| |
|
using | PointeeType = typename UnderlyingTypes< KeyType, ValueType, ConstSwitch >::PointeeType |
| |
|
using | iterator_category = std::forward_iterator_tag |
| |
|
using | value_type = ValType |
| |
|
using | difference_type = std::ptrdiff_t |
| |
|
using | pointer = ValType * |
| |
|
using | reference = ValType & |
| |
|
| const KeyType & | getKey () const |
| |
| ValType & | operator* () |
| |
| ValType * | operator-> () |
| |
| const VectorWithKeysIterator< KeyType, ValueType, ConstSwitch > & | operator++ () |
| | Post increment iterator to the next element in container. More...
|
| |
| VectorWithKeysIterator< KeyType, ValueType, ConstSwitch > | operator++ (int32_t) |
| | Pre increment iterator to the next element in container. More...
|
| |
| VectorWithKeysIterator< KeyType, ValueType, ConstSwitch > | operator+ (int32_t increment) |
| | Increment iterator to by the number of elements passed as an increment. More...
|
| |
| bool | operator== (const VectorWithKeysIterator< KeyType, ValueType, ConstSwitch > &other) const |
| | Check if iterators point to the same element in the container. More...
|
| |
| bool | operator!= (const VectorWithKeysIterator< KeyType, ValueType, ConstSwitch > &other) const |
| | Check if iterators don't point to the same element in the container. More...
|
| |
|
|
class | VectorWithKeys< KeyType, ValueType > |
| |
◆ getKey()
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
- Returns
- constant reference to the key of the element pointed by the iterator
◆ operator!=()
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
Check if iterators don't point to the same element in the container.
- Parameters
-
| other | iterator used for comparison |
- Returns
- true if iterators don't point to the same element in container, false otherwise
◆ operator*()
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
- Returns
- reference to the pointed element
◆ operator+()
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
Increment iterator to by the number of elements passed as an increment.
- Parameters
-
| increment | the number of element by which the iterator is incremented |
- Returns
- iterator pointing to the element offset by an increment to the original pointed element
◆ operator++() [1/2]
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
Post increment iterator to the next element in container.
- Returns
- constant reference to self
◆ operator++() [2/2]
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
Pre increment iterator to the next element in container.
- Returns
- iterator pointing to the element before increment
◆ operator->()
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
- Returns
- pointer to the pointed element
◆ operator==()
template<typename KeyType , typename ValueType , ConstTypeSwitch ConstSwitch>
Check if iterators point to the same element in the container.
- Parameters
-
| other | iterator used for comparison |
- Returns
- true if iterators point to the same element in container, false otherwise
The documentation for this class was generated from the following file: