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 ()
 Map_element wrapper class.
 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 const Map_declaration declaration  )  [inline]
 

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

Parameters:
declaration is the declaration of the new map element

mi::shader_v3::Map_element::Map_element const Map_element other  )  [inline]
 

copy constructor.

Parameters:
other is the element to copy


Member Function Documentation

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

const dereference operator.

Returns:
the map element object

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

dereference operator.

Returns:
the map element object

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

copy assignment operator.

Parameters:
other is the element to copy

Copyright © 1986-2009 by mental images GmbH