#include <vgtl_intadapt.h>
Collaboration diagram for pair_adaptor< _Iterator >:
Public Types | |
typedef std::iterator_traits< _Iterator >::iterator_category | iterator_category |
standard iterator definitions | |
typedef std::iterator_traits< _Iterator >::difference_type | difference_type |
standard iterator definitions | |
typedef std::iterator_traits< _Iterator >::value_type | p_value_type |
standard iterator definitions | |
typedef std::iterator_traits< _Iterator >::pointer | p_pointer |
standard iterator definitions | |
typedef std::iterator_traits< _Iterator >::reference | p_reference |
standard iterator definitions | |
typedef p_value_type::second_type | value_type |
standard iterator definitions | |
typedef value_type & | reference |
standard iterator definitions | |
typedef value_type * | pointer |
standard iterator definitions | |
typedef p_value_type::first_type | key_type |
additional definitions for the key type | |
typedef key_type & | key_reference |
additional definitions for the key type | |
typedef key_type * | key_pointer |
additional definitions for the key type | |
Public Methods | |
pair_adaptor () | |
standard constructor | |
pair_adaptor (iterator_type __x) | |
constructor setting the position | |
pair_adaptor (const _Self &__x) | |
copy constructor | |
template<class _Iter> | pair_adaptor (const pair_adaptor< _Iter > &__x) |
a copy constructor setting the position from another pair adaptor | |
iterator_type | base () const |
return the base iterator | |
reference | operator * () const |
dereference operator | |
pointer | operator-> () const |
pointer operator | |
key_reference | operator~ () const |
dereference to the key value | |
_Self & | operator= (const iterator_type &__x) |
assignment operator setting the position from base iterator | |
_Self & | operator++ () |
standard increment, decrement operators | |
_Self | operator++ (int) |
standard increment, decrement operators | |
_Self & | operator-- () |
standard increment, decrement operators | |
_Self | operator-- (int) |
standard increment, decrement operators | |
_Self | operator+ (difference_type __n) const |
standard random access operators | |
_Self & | operator+= (difference_type __n) |
standard random access operators | |
_Self | operator- (difference_type __n) const |
standard random access operators | |
_Self & | operator-= (difference_type __n) |
standard random access operators | |
reference | operator[] (difference_type __n) const |
standard random access operators | |
bool | operator== (const iterator_type &__x) |
standard comparison operator | |
bool | operator!= (const iterator_type &__x) |
standard comparison operator | |
Protected Attributes | |
_Iterator | current |
the original iterator |
map
or multimap
iterator) to an iterator returning only the value part. There is another operator (~)
, which returns the key value for a given position.
Definition at line 77 of file vgtl_intadapt.h.