ROSE 0.11.145.147
Public Member Functions | List of all members
Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator Class Reference

Description

template<class K, class V>
class Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator

Bidirectional 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 146 of file GraphIteratorMap.h.

#include <Sawyer/GraphIteratorMap.h>

Inheritance diagram for Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator:
Collaboration graph
[legend]

Public Member Functions

 NodeIterator (const NodeIterator &other)
 Copy constructor.
 
Nodeoperator* () const
 Dereference iterator to return a storage node.
 
Nodeoperator-> () const
 Pointer to storage node.
 

Constructor & Destructor Documentation

◆ NodeIterator() [1/2]

template<class K , class V >
Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator::NodeIterator ( )
inline

Definition at line 149 of file GraphIteratorMap.h.

◆ NodeIterator() [2/2]

template<class K , class V >
Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator::NodeIterator ( const NodeIterator other)
inline

Copy constructor.

Definition at line 152 of file GraphIteratorMap.h.

Member Function Documentation

◆ operator*()

template<class K , class V >
Node & Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator::operator* ( ) const
inline

Dereference iterator to return a storage node.

Definition at line 155 of file GraphIteratorMap.h.

◆ operator->()

template<class K , class V >
Node * Sawyer::Container::GraphIteratorMap< K, V >::NodeIterator::operator-> ( ) const
inline

Pointer to storage node.

Definition at line 160 of file GraphIteratorMap.h.


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