libpsynth 0.2.1
Public Types | Public Member Functions
psynth::base::ptr_const_iterator< Iterator > Class Template Reference

#include <iterator.hpp>

List of all members.

Public Types

typedef std::iterator_traits
< Iterator >::value_type 
ptr_value_type
typedef pointee
< ptr_value_type >::type 
value_type
typedef Iterator::iterator_category iterator_category
typedef Iterator::difference_type difference_type
typedef value_type * pointer
typedef value_type & reference

Public Member Functions

 ptr_const_iterator ()
 ptr_const_iterator (const Iterator &it)
template<class OtherIterator >
 ptr_const_iterator (const OtherIterator &it)
 ptr_const_iterator (const ptr_const_iterator &it)
const value_type & operator* () const
 Const indirection operator, returns a constant reference to the referred value.
const value_type * operator-> () const
 Indirection operator, returns a pointer to the referred value const value.

template<typename Iterator>
class psynth::base::ptr_const_iterator< Iterator >


Member Typedef Documentation

template<typename Iterator >
typedef Iterator::difference_type psynth::base::ptr_const_iterator< Iterator >::difference_type
template<typename Iterator >
typedef Iterator::iterator_category psynth::base::ptr_const_iterator< Iterator >::iterator_category
template<typename Iterator >
typedef value_type* psynth::base::ptr_const_iterator< Iterator >::pointer
template<typename Iterator >
typedef std::iterator_traits<Iterator>::value_type psynth::base::ptr_const_iterator< Iterator >::ptr_value_type
template<typename Iterator >
typedef value_type& psynth::base::ptr_const_iterator< Iterator >::reference
template<typename Iterator >
typedef pointee<ptr_value_type>::type psynth::base::ptr_const_iterator< Iterator >::value_type

Constructor & Destructor Documentation

template<typename Iterator >
psynth::base::ptr_const_iterator< Iterator >::ptr_const_iterator ( ) [inline]
template<typename Iterator >
psynth::base::ptr_const_iterator< Iterator >::ptr_const_iterator ( const Iterator &  it) [inline]
template<typename Iterator >
template<class OtherIterator >
psynth::base::ptr_const_iterator< Iterator >::ptr_const_iterator ( const OtherIterator &  it) [inline]
template<typename Iterator >
psynth::base::ptr_const_iterator< Iterator >::ptr_const_iterator ( const ptr_const_iterator< Iterator > &  it) [inline]

Member Function Documentation

template<typename Iterator >
const value_type& psynth::base::ptr_const_iterator< Iterator >::operator* ( ) const [inline]

Const indirection operator, returns a constant reference to the referred value.

template<typename Iterator >
const value_type* psynth::base::ptr_const_iterator< Iterator >::operator-> ( ) const [inline]

Indirection operator, returns a pointer to the referred value const value.


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