mi::shader_v3::Edit_map_iterator Class Reference

Smart pointer to a read-write map iterator. It defines a dereference operator which provides access to the methods of the wrapped Map_iterator_base object. More...

#include <shader_map.h>

List of all members.


Public Member Functions

  Edit_map_iterator (const Edit_map &map, Map_status *status=0)
  attaches the iterator to a map.
  Edit_map_iterator (const Edit_map_iterator &other, Map_status *status=0)
  copy constructor.
  ~Edit_map_iterator ()
  destructor, deletes the iterator.
Edit_map_iterator operator= (const Edit_map_iterator &other)
  copy assignment operator.
Map_iterator_base operator-> ()
  dereference operator.
const Map_iterator_base operator-> () const
  const dereference operator.

Detailed Description

Smart pointer to a read-write map iterator. It defines a dereference operator which provides access to the methods of the wrapped Map_iterator_base object.

Constructor & Destructor Documentation

mi::shader_v3::Edit_map_iterator::Edit_map_iterator ( const Edit_map map,
Map_status status = 0  
) [inline]

attaches the iterator to a map.

Edit_map_iterator wrapper class.

Parameters:
map  is the map to attach to
status  is a status code

mi::shader_v3::Edit_map_iterator::Edit_map_iterator ( const Edit_map_iterator other,
Map_status status = 0  
) [inline]

copy constructor.

Parameters:
other  is the iterator to copy
status  is a status code

References m_map_iterator.


Member Function Documentation

Edit_map_iterator & mi::shader_v3::Edit_map_iterator::operator= ( const Edit_map_iterator other  )  [inline]

copy assignment operator.

Parameters:
other  is the iterator to copy

References m_map_iterator, and mi::shader_v3::Map_iterator_base::release().

Map_iterator_base * mi::shader_v3::Edit_map_iterator::operator-> (  )  [inline]

dereference operator.

Returns:
the map iterator object

const Map_iterator_base * mi::shader_v3::Edit_map_iterator::operator-> (  )  const [inline]

const dereference operator.

Returns:
the map iterator object

Copyright © 1986-2010 by mental images GmbH