ROSE 0.11.145.147
Public Member Functions | List of all members
Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator Class Reference

Description

template<class K, class T, class H = boost::hash<K>, class C = std::equal_to<K>, class A = std::allocator<std::pair<const K, T> >>
class Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator

Forward iterator over values.

Dereferencing this iterator will return a reference to the user-defined value of the node. Values may be altered in-place while they are members of a container.

Definition at line 219 of file HashMap.h.

#include <Sawyer/HashMap.h>

Inheritance diagram for Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator:
Collaboration graph
[legend]

Public Member Functions

 ValueIterator (const ValueIterator &other)
 
 ValueIterator (const NodeIterator &other)
 
Valueoperator* () const
 
Valueoperator-> () const
 

Constructor & Destructor Documentation

◆ ValueIterator() [1/3]

template<class K , class T , class H = boost::hash<K>, class C = std::equal_to<K>, class A = std::allocator<std::pair<const K, T> >>
Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator::ValueIterator ( )
inline

Definition at line 222 of file HashMap.h.

◆ ValueIterator() [2/3]

template<class K , class T , class H = boost::hash<K>, class C = std::equal_to<K>, class A = std::allocator<std::pair<const K, T> >>
Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator::ValueIterator ( const ValueIterator other)
inline

Definition at line 223 of file HashMap.h.

◆ ValueIterator() [3/3]

template<class K , class T , class H = boost::hash<K>, class C = std::equal_to<K>, class A = std::allocator<std::pair<const K, T> >>
Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator::ValueIterator ( const NodeIterator other)
inline

Definition at line 224 of file HashMap.h.

Member Function Documentation

◆ operator*()

template<class K , class T , class H = boost::hash<K>, class C = std::equal_to<K>, class A = std::allocator<std::pair<const K, T> >>
Value & Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator::operator* ( ) const
inline

Definition at line 225 of file HashMap.h.

◆ operator->()

template<class K , class T , class H = boost::hash<K>, class C = std::equal_to<K>, class A = std::allocator<std::pair<const K, T> >>
Value * Sawyer::Container::HashMap< K, T, H, C, A >::ValueIterator::operator-> ( ) const
inline

Definition at line 226 of file HashMap.h.


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