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

#include <Sawyer/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.
 
ConstValueIteratoroperator= (const ConstValueIterator &other)
 Assignment.
 
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.
 

Constructor & Destructor Documentation

◆ ConstValueIterator() [1/5]

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 >::ConstValueIterator::ConstValueIterator ( )
inline

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

◆ ConstValueIterator() [2/5]

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 >::ConstValueIterator::ConstValueIterator ( const ConstValueIterator other)
inline

Copy constructor.

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

◆ ConstValueIterator() [3/5]

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 >::ConstValueIterator::ConstValueIterator ( const ValueIterator other)
inline

Copy constructor.

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

◆ ConstValueIterator() [4/5]

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 >::ConstValueIterator::ConstValueIterator ( const ConstNodeIterator other)
inline

Copy constructor.

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

◆ ConstValueIterator() [5/5]

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 >::ConstValueIterator::ConstValueIterator ( const NodeIterator other)
inline

Copy constructor.

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

Member Function Documentation

◆ operator=()

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

Assignment.

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

◆ operator*()

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

Dereference iterator to return the value of the storage node.

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

◆ operator->()

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

Returns a pointer to the value of the storage node.

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


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