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

Forward iterator over keys.

Dereferencing this iterator will return a reference to a const key. Keys cannot be altered while they are a member of this container.

Definition at line 204 of file HashMap.h.

#include <Sawyer/HashMap.h>

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

Public Member Functions

 ConstKeyIterator (const ConstKeyIterator &other)
 
 ConstKeyIterator (const NodeIterator &other)
 
 ConstKeyIterator (const ConstNodeIterator &other)
 
const Keyoperator* () const
 
const Keyoperator-> () const
 

Constructor & Destructor Documentation

◆ ConstKeyIterator() [1/4]

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

Definition at line 207 of file HashMap.h.

◆ ConstKeyIterator() [2/4]

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

Definition at line 208 of file HashMap.h.

◆ ConstKeyIterator() [3/4]

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

Definition at line 209 of file HashMap.h.

◆ ConstKeyIterator() [4/4]

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

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

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

Definition at line 212 of file HashMap.h.


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