ROSE  0.11.96.11
Public Member Functions | List of all members
Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstValueIterator Class Reference

Description

template<class K, class T, class Cmp = std::less<K>, class Alloc = std::allocator<std::pair<const K, T> >>
class Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstValueIterator

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 263 of file Sawyer/Map.h.

#include <Map.h>

Inheritance diagram for Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstValueIterator:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstValueIterator:
Collaboration graph
[legend]

Public Member Functions

 ConstValueIterator (const ConstValueIterator &other)
 Copy constructor.
 
 ConstValueIterator (const ValueIterator &other)
 Copy constructor.
 
 ConstValueIterator (const ConstNodeIterator &other)
 Copy constructor.
 
 ConstValueIterator (const NodeIterator &other)
 Copy constructor.
 
const Valueoperator* () const
 Dereference iterator to return the value of the storage node.
 
const Valueoperator-> () const
 Returns a pointer to the value of the storage node.
 

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