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

Description

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

Bidirectional iterator over constant key/value nodes.

Dereferencing this iterator will return a const 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 173 of file GraphIteratorMap.h.

#include <Sawyer/GraphIteratorMap.h>

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

Public Member Functions

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

Constructor & Destructor Documentation

◆ ConstNodeIterator() [1/3]

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

Definition at line 176 of file GraphIteratorMap.h.

◆ ConstNodeIterator() [2/3]

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

Copy constructor.

Definition at line 179 of file GraphIteratorMap.h.

◆ ConstNodeIterator() [3/3]

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

Copy constructor.

Definition at line 183 of file GraphIteratorMap.h.

Member Function Documentation

◆ operator*()

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

Dereference iterator to return a storage node.

Definition at line 187 of file GraphIteratorMap.h.

◆ operator->()

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

Returns a pointer to a storage node.

Definition at line 192 of file GraphIteratorMap.h.


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