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

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

#include <Sawyer/HashMap.h>

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

Public Member Functions

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

Constructor & Destructor Documentation

◆ ConstNodeIterator() [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 >::ConstNodeIterator::ConstNodeIterator ( )
inline

Definition at line 189 of file HashMap.h.

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

Definition at line 190 of file HashMap.h.

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

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

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

Definition at line 193 of file HashMap.h.


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