6 #include "containers/data_value_container.h"
7 #include "includes/kratos_export_api.h"
13 #include <type_traits>
32 using Wrapped = DataValueContainer::const_iterator;
58 {
return mWrapped->first->Name();}
61 {
return &mWrapped->first->Name();}
64 {++mWrapped;
return *
this;}
70 {
return Left.mWrapped == Right.mWrapped;}
73 {
return !(Left == Right);}
Iterator providing access to variables' names within a DataValueContainer.
Definition: DataValueContainerKeyIterator.hpp:30
pointer operator->()
Definition: DataValueContainerKeyIterator.hpp:60
friend bool operator!=(DataValueContainerKeyIterator Left, DataValueContainerKeyIterator Right)
Definition: DataValueContainerKeyIterator.hpp:72
const value_type * pointer
const key_type* if const_iterator else key_type*
Definition: DataValueContainerKeyIterator.hpp:38
reference operator*()
Definition: DataValueContainerKeyIterator.hpp:57
DataValueContainerKeyIterator(const DataValueContainerKeyIterator &rOther) noexcept=default
Wrapped::difference_type difference_type
Definition: DataValueContainerKeyIterator.hpp:43
DataValueContainerKeyIterator operator++(int)
Definition: DataValueContainerKeyIterator.hpp:66
std::forward_iterator_tag iterator_category
Definition: DataValueContainerKeyIterator.hpp:45
DataValueContainerKeyIterator()=default
friend bool operator==(DataValueContainerKeyIterator Left, DataValueContainerKeyIterator Right)
Definition: DataValueContainerKeyIterator.hpp:69
DataValueContainerKeyIterator(Wrapped wrapped)
Definition: DataValueContainerKeyIterator.hpp:49
const value_type & reference
const key_type& if const_iterator else key_type&
Definition: DataValueContainerKeyIterator.hpp:41
DataValueContainerKeyIterator(DataValueContainerKeyIterator &&rOther) noexcept=default
DataValueContainerKeyIterator & operator++()
Definition: DataValueContainerKeyIterator.hpp:63
std::string value_type
Definition: DataValueContainerKeyIterator.hpp:35
Range< DataValueContainerKeyIterator > DataValueContainerKeyRange
Range class iterating over the variable names within a DataValueContainer.
Definition: DataValueContainerKeyIterator.hpp:82
Definition: MPIUtils.hpp:9