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

Smart pointer to a map declaration, which allows to retrieve a copy of the declaration of an existing map, or to create a new map declaration. It defines a dereference operator which provides access to the methods of the wrapped Map_declaration_base object. More...

#include <shader_map.h>

List of all members.

Public Member Functions

 Map_declaration (const miUint dimension=3)
 smart pointer to a new map declaration.
 Map_declaration (const Access_map &map, Map_status *status=0)
 gets a copy of the declaration of the given map.
 Map_declaration (const Edit_map &map, Map_status *status=0)
 gets a copy of the declaration of the given map.
 Map_declaration (const Map_element &map_element, Map_status *status=0)
 gets a copy of the declaration of the given element.
 Map_declaration (const Map_declaration &other, Map_status *status=0)
 copy constructor.
 ~Map_declaration ()
 destructor, deletes the declaration.
Map_declarationoperator= (const Map_declaration &other)
 copy assignment operator.
Map_declaration_baseoperator-> ()
 dereference operator.
const Map_declaration_baseoperator-> () const
 const dereference operator.

Detailed Description

Smart pointer to a map declaration, which allows to retrieve a copy of the declaration of an existing map, or to create a new map declaration. It defines a dereference operator which provides access to the methods of the wrapped Map_declaration_base object.


Constructor & Destructor Documentation

mi::shader_v3::Map_declaration::Map_declaration ( const miUint  dimension = 3) [inline]

smart pointer to a new map declaration.

Map_declaration wrapper class.

Parameters:
dimensionis the dimension of the position
mi::shader_v3::Map_declaration::Map_declaration ( const Access_map map,
Map_status status = 0 
) [inline]

gets a copy of the declaration of the given map.

Parameters:
mapis the map to get a copy of the declaration from
statusis a status code
mi::shader_v3::Map_declaration::Map_declaration ( const Edit_map map,
Map_status status = 0 
) [inline]

gets a copy of the declaration of the given map.

Parameters:
mapis the map to get a copy of the declaration from
statusis a status code
mi::shader_v3::Map_declaration::Map_declaration ( const Map_element map_element,
Map_status status = 0 
) [inline]

gets a copy of the declaration of the given element.

Parameters:
map_elementelement to get a copy of the declaration from
statusis a status code
mi::shader_v3::Map_declaration::Map_declaration ( const Map_declaration other,
Map_status status = 0 
) [inline]

copy constructor.

Parameters:
otheris the declaration to copy
statusis a status code

Member Function Documentation

Map_declaration_base * mi::shader_v3::Map_declaration::operator-> ( ) [inline]

dereference operator.

Returns:
the map declaration object
const Map_declaration_base * mi::shader_v3::Map_declaration::operator-> ( ) const [inline]

const dereference operator.

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

copy assignment operator.

Parameters:
otheris the declaration to copy

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

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