Public Member Functions
mi::shader_v3::Map_element Class Reference

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

#include <shader_map.h>

List of all members.

Public Member Functions

 Map_element ()
 smart pointer to a new empty map element, without a declaration attached.
 Map_element (const Map_declaration &declaration)
 smart pointer to a new map element which has the given declaration.
 Map_element (const Map_element &other)
 copy constructor.
 ~Map_element ()
 destructor, deletes the element.
Map_elementoperator= (const Map_element &other)
 copy assignment operator.
Map_element_baseoperator-> ()
 dereference operator.
const Map_element_baseoperator-> () const
 const dereference operator.

Detailed Description

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


Constructor & Destructor Documentation

mi::shader_v3::Map_element::Map_element ( ) [inline]

smart pointer to a new empty map element, without a declaration attached.

Map_element wrapper class.

mi::shader_v3::Map_element::Map_element ( const Map_declaration declaration) [inline]

smart pointer to a new map element which has the given declaration.

Parameters:
declarationis the declaration of the new map element
mi::shader_v3::Map_element::Map_element ( const Map_element other) [inline]

copy constructor.

Parameters:
otheris the element to copy

Member Function Documentation

Map_element_base * mi::shader_v3::Map_element::operator-> ( ) [inline]

dereference operator.

Returns:
the map element object
const Map_element_base * mi::shader_v3::Map_element::operator-> ( ) const [inline]

const dereference operator.

Returns:
the map element object
Map_element & mi::shader_v3::Map_element::operator= ( const Map_element other) [inline]

copy assignment operator.

Parameters:
otheris the element to copy

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

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