ROSE  0.11.96.11
Public Member Functions | List of all members
Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator 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 >::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 216 of file Sawyer/Map.h.

#include <Map.h>

Inheritance diagram for Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Container::Map< K, T, Cmp, Alloc >::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
 Dereference iterator to return the interval of the storage node.
 
const Keyoperator-> () const
 Returns a pointer to the interval of the storage node.
 

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