ROSE  0.11.51.0
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 138 of file GraphIteratorMap.h.

#include <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. More...
 
Nodeoperator* () const
 Dereference iterator to return a storage node. More...
 
Nodeoperator-> () const
 Pointer to storage node. More...
 

Constructor & Destructor Documentation

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

Copy constructor.

Definition at line 144 of file GraphIteratorMap.h.

Member Function Documentation

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

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

Pointer to storage node.

Definition at line 152 of file GraphIteratorMap.h.


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