Public Member Functions
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)
 attaches the lookup to a read-only map.
 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]

attaches the lookup to a read-only map.

Map_lookup wrapper class.

Parameters:
mapis the map to attach to
statusis a status code
mi::shader_v3::Map_lookup::Map_lookup ( const Map_lookup other,
Map_status status = 0 
) [inline]

copy constructor.

Parameters:
otheris the lookup to copy
statusis 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:
otheris the lookup to copy

References mi::shader_v3::Map_lookup_base::release().

Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.