ROSE 0.11.145.192
Public Member Functions | List of all members
Sawyer::Container::HashMap< K, T, H, C, A >::ConstValueIterator 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 >::ConstValueIterator

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 233 of file HashMap.h.

#include <Sawyer/HashMap.h>

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

Public Member Functions

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

Constructor & Destructor Documentation

◆ ConstValueIterator() [1/5]

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 >::ConstValueIterator::ConstValueIterator ( )
inline

Definition at line 236 of file HashMap.h.

◆ ConstValueIterator() [2/5]

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 >::ConstValueIterator::ConstValueIterator ( const ConstValueIterator other)
inline

Definition at line 237 of file HashMap.h.

◆ ConstValueIterator() [3/5]

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 >::ConstValueIterator::ConstValueIterator ( const ValueIterator other)
inline

Definition at line 238 of file HashMap.h.

◆ ConstValueIterator() [4/5]

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 >::ConstValueIterator::ConstValueIterator ( const ConstNodeIterator other)
inline

Definition at line 239 of file HashMap.h.

◆ ConstValueIterator() [5/5]

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 >::ConstValueIterator::ConstValueIterator ( const NodeIterator other)
inline

Definition at line 240 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> >>
const Value & Sawyer::Container::HashMap< K, T, H, C, A >::ConstValueIterator::operator* ( ) const
inline

Definition at line 241 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> >>
const Value * Sawyer::Container::HashMap< K, T, H, C, A >::ConstValueIterator::operator-> ( ) const
inline

Definition at line 242 of file HashMap.h.


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