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

Description

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

Bidirectional iterator over keys.

Dereferencing this iterator will return a reference to a const key. Keys cannot be altered while they are a member of this container.

Definition at line 207 of file GraphIteratorMap.h.

#include <util/Sawyer/GraphIteratorMap.h>

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

Public Member Functions

 ConstKeyIterator (const ConstKeyIterator &other)
 Copy constructor. More...
 
 ConstKeyIterator (const NodeIterator &other)
 Copy constructor. More...
 
 ConstKeyIterator (const ConstNodeIterator &other)
 Copy constructor. More...
 
const Keyoperator* () const
 Returns the key for the current iterator. More...
 
const Keyoperator-> () const
 Returns a pointer to the key. More...
 

Constructor & Destructor Documentation

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

Copy constructor.

Definition at line 213 of file GraphIteratorMap.h.

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

Copy constructor.

Definition at line 217 of file GraphIteratorMap.h.

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

Copy constructor.

Definition at line 221 of file GraphIteratorMap.h.

Member Function Documentation

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

Returns the key for the current iterator.

Definition at line 225 of file GraphIteratorMap.h.

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

Returns a pointer to the key.

Definition at line 230 of file GraphIteratorMap.h.


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