mi::shader::Map_access Class Reference

Smart pointer to a Map in the DB or to a Map read from file, access-only. More...

#include <shader_map.h>

List of all members.

Public Member Functions

 Map_access (const miTag tag)
 Map_access wrapper class.
 Map_access (const char *filename, Map_status *status=0)
 smart pointer to a Map class
 ~Map_access ()
 release resources, unpin database tag
const Mapoperator-> ()
 dereference operator
const Mapoperator-> () const
 const dereference operator
miTag get_tag () const
 returns the tag of the map
miTag store ()
 stores the map in the DB (if not in the DB already)


Detailed Description

Smart pointer to a Map in the DB or to a Map read from file, access-only.


Constructor & Destructor Documentation

mi::shader::Map_access::Map_access const miTag  tag  )  [inline]
 

Map_access wrapper class.

Parameters:
tag map database tag

mi::shader::Map_access::Map_access const char *  filename,
Map_status status = 0
[inline]
 

smart pointer to a Map class

Parameters:
filename file name of the map to read
status a status code


Member Function Documentation

miTag mi::shader::Map_access::get_tag  )  const [inline]
 

returns the tag of the map

Returns:
the tag of the map in the DB

miTag mi::shader::Map_access::store  )  [inline]
 

stores the map in the DB (if not in the DB already)

Returns:
the tag of the map in the DB


The documentation for this class was generated from the following file:

Copyright © 1986-2008 by mental images GmbH