mi::shader_v3::Map_lookup Class Reference

Smart pointer to a map lookup. It defines a dereference operator which provides access to the methods of the wrapped Map_lookup_base object. More...

#include <shader_map.h>

List of all members.

Public Member Functions

 Map_lookup (const Access_map &map, Map_status *status=0)
 Map_lookup wrapper class.
 Map_lookup (const Map_lookup &other, Map_status *status=0)
 copy constructor.
 ~Map_lookup ()
 destructor, deletes the lookup.
Map_lookupoperator= (const Map_lookup &other)
 copy assignment operator.
Map_lookup_baseoperator-> ()
 dereference operator.


Detailed Description

Smart pointer to a map lookup. It defines a dereference operator which provides access to the methods of the wrapped Map_lookup_base object.


Constructor & Destructor Documentation

mi::shader_v3::Map_lookup::Map_lookup const Access_map map,
Map_status status = 0
[inline]
 

Map_lookup wrapper class.

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

mi::shader_v3::Map_lookup::Map_lookup const Map_lookup other,
Map_status status = 0
[inline]
 

copy constructor.

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


Member Function Documentation

Map_lookup_base * mi::shader_v3::Map_lookup::operator->  )  [inline]
 

dereference operator.

Returns:
the map lookup object

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

copy assignment operator.

Parameters:
other is the lookup to copy

Copyright © 1986-2009 by mental images GmbH