commonlib
vector_with_keys_iterator.h File Reference

VectorWithKeysIterator provides access to VectorWithKeys elements and it's keys. More...

#include "containers.h"

Go to the source code of this file.

Classes

class  VectorWithKeys< KeyType, ValueType >
 
struct  VectorWithKeysIterators::UnderlyingTypes< KeyType, ValueType, ConstSwitch >
 
struct  VectorWithKeysIterators::UnderlyingTypes< KeyType, ValueType, ConstTypeSwitch::isConst >
 
struct  VectorWithKeysIterators::UnderlyingTypes< KeyType, ValueType, ConstTypeSwitch::isNonConst >
 
class  VectorWithKeysIterators::VectorWithKeysIterator< KeyType, ValueType, ConstSwitch >
 

Enumerations

enum  ConstTypeSwitch { isConst = 0, isNonConst = 1 }
 

Detailed Description

VectorWithKeysIterator provides access to VectorWithKeys elements and it's keys.

Author
Luka Jerman
Date
09/08/2019
Version
1.0

DESCRIPTION

VectorWithKeysIterator is a forward iterator that provides a pointer type access to the elements stored in VectorWithKeys container. It offers mutable or immutable access depending on the const type switch. It also has a function to access the key value of the pointed element.