ROSE  0.9.12.28
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 207 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. More...
 
 ConstKeyIterator (const NodeIterator &other)
 Copy constructor. More...
 
 ConstKeyIterator (const ConstNodeIterator &other)
 Copy constructor. More...
 
const Keyoperator* () const
 Dereference iterator to return the interval of the storage node. More...
 
const Keyoperator-> () const
 Returns a pointer to the interval of the storage node. More...
 

Constructor & Destructor Documentation

template<class K, class T, class Cmp = std::less<K>, class Alloc = std::allocator<std::pair<const K, T> >>
Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator::ConstKeyIterator ( const ConstKeyIterator other)
inline

Copy constructor.

Definition at line 213 of file Sawyer/Map.h.

template<class K, class T, class Cmp = std::less<K>, class Alloc = std::allocator<std::pair<const K, T> >>
Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator::ConstKeyIterator ( const NodeIterator other)
inline

Copy constructor.

Definition at line 216 of file Sawyer/Map.h.

template<class K, class T, class Cmp = std::less<K>, class Alloc = std::allocator<std::pair<const K, T> >>
Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator::ConstKeyIterator ( const ConstNodeIterator other)
inline

Copy constructor.

Definition at line 219 of file Sawyer/Map.h.

Member Function Documentation

template<class K, class T, class Cmp = std::less<K>, class Alloc = std::allocator<std::pair<const K, T> >>
const Key& Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator::operator* ( ) const
inline

Dereference iterator to return the interval of the storage node.

Definition at line 222 of file Sawyer/Map.h.

template<class K, class T, class Cmp = std::less<K>, class Alloc = std::allocator<std::pair<const K, T> >>
const Key* Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator::operator-> ( ) const
inline

Returns a pointer to the interval of the storage node.

Definition at line 225 of file Sawyer/Map.h.


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