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

Forward iterator over key/value nodes.

Dereferencing this iterator will return a Node from which both the key and the value can be obtained. Node iterators are implicitly convertible to both key and value iterators.

Definition at line 170 of file HashMap.h.

#include <Sawyer/HashMap.h>

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

Public Member Functions

 NodeIterator (const NodeIterator &other)
 
Nodeoperator* () const
 
Nodeoperator-> () const
 

Constructor & Destructor Documentation

◆ NodeIterator() [1/2]

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

Definition at line 173 of file HashMap.h.

◆ NodeIterator() [2/2]

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

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

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

Definition at line 176 of file HashMap.h.


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