ROSE 0.11.145.192
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 <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.
 
 ConstKeyIterator (const NodeIterator &other)
 Copy constructor.
 
 ConstKeyIterator (const ConstNodeIterator &other)
 Copy constructor.
 
const Keyoperator* () const
 Returns the key for the current iterator.
 
const Keyoperator-> () const
 Returns a pointer to the key.
 

Constructor & Destructor Documentation

◆ ConstKeyIterator() [1/4]

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

Definition at line 210 of file GraphIteratorMap.h.

◆ ConstKeyIterator() [2/4]

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.

◆ ConstKeyIterator() [3/4]

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.

◆ ConstKeyIterator() [4/4]

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

◆ operator*()

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.

◆ operator->()

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: