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

Description

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

Bidirectional iterator over values.

Dereferencing this iterator will return a reference to the user-defined value of the node. Values may be altered in place while they are members of a container.

Definition at line 239 of file GraphIteratorMap.h.

#include <Sawyer/GraphIteratorMap.h>

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

Public Member Functions

 ValueIterator (const ValueIterator &other)
 Copy constructor.
 
 ValueIterator (const NodeIterator &other)
 Copy constructor.
 
Valueoperator* () const
 Dereference iterator to return the user-defined value.
 
Valueoperator-> () const
 Dereference iterator to return address of user-defined value.
 

Constructor & Destructor Documentation

◆ ValueIterator() [1/3]

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

Definition at line 242 of file GraphIteratorMap.h.

◆ ValueIterator() [2/3]

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

Copy constructor.

Definition at line 245 of file GraphIteratorMap.h.

◆ ValueIterator() [3/3]

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

Copy constructor.

Definition at line 249 of file GraphIteratorMap.h.

Member Function Documentation

◆ operator*()

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

Dereference iterator to return the user-defined value.

Definition at line 253 of file GraphIteratorMap.h.

◆ operator->()

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

Dereference iterator to return address of user-defined value.

Definition at line 258 of file GraphIteratorMap.h.


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