ROSE  0.11.145.0
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 225 of file Sawyer/Map.h.

#include <util/Sawyer/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...
 
ConstKeyIteratoroperator= (const ConstKeyIterator &other)
 Assignment. 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 231 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 234 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 237 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> >>
ConstKeyIterator& Sawyer::Container::Map< K, T, Cmp, Alloc >::ConstKeyIterator::operator= ( const ConstKeyIterator other)
inline

Assignment.

Definition at line 240 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

Dereference iterator to return the interval of the storage node.

Definition at line 243 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 246 of file Sawyer/Map.h.


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