ROSE  0.9.10.47
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 173 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)
 
 ConstKeyIterator (const NodeIterator &other)
 
 ConstKeyIterator (const ConstNodeIterator &other)
 
const Keyoperator* () const
 
const Keyoperator-> () const
 
- Public Member Functions inherited from Sawyer::Container::Map< K, T, Cmp, Alloc >::BidirectionalIterator< Derived, Value, BaseIterator >
Derived & operator= (const Derived &other)
 
Derived & operator++ ()
 
Derived operator++ (int)
 
Derived & operator-- ()
 
Derived operator-- (int)
 
template<class OtherIter >
bool operator== (const OtherIter &other) const
 
template<class OtherIter >
bool operator!= (const OtherIter &other) const
 
const BaseIterator & base () const
 

Additional Inherited Members

- Protected Member Functions inherited from Sawyer::Container::Map< K, T, Cmp, Alloc >::BidirectionalIterator< Derived, Value, BaseIterator >
 BidirectionalIterator (const BaseIterator &base)
 
Derived * derived ()
 
const Derived * derived () const
 
- Protected Attributes inherited from Sawyer::Container::Map< K, T, Cmp, Alloc >::BidirectionalIterator< Derived, Value, BaseIterator >
BaseIterator base_
 

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