ROSE  0.9.11.145
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 231 of file GraphIteratorMap.h.

#include <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. More...
 
 ValueIterator (const NodeIterator &other)
 Copy constructor. More...
 
Valueoperator* () const
 Dereference iterator to return the user-defined value. More...
 
Valueoperator-> () const
 Dereference iterator to return address of user-defined value. More...
 

Constructor & Destructor Documentation

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

Copy constructor.

Definition at line 237 of file GraphIteratorMap.h.

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

Copy constructor.

Definition at line 241 of file GraphIteratorMap.h.

Member Function Documentation

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

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


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