CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csRefHash Class Template Reference

A hash that stores ref-counted objects, exactly one object per hash key. More...

#include <material.h>

Inheritance diagram for csRefHash:

csHashMap List of all members.

Public Methods

T * Get (csHashKey key) const
 Get an object from this map. More...


Detailed Description

template<class T>
class csRefHash< T >

A hash that stores ref-counted objects, exactly one object per hash key.

Definition at line 43 of file csengine/material.h.


Member Function Documentation

template<class T>
T* csRefHash< T >::Get csHashKey    key const [inline]
 

Get an object from this map.

Returns 0 if object is not there. If there are multiple elements with the same key then a random one will be returned. Use an iterator to iterate over all elements with the same key.

Reimplemented from csHashMap.

Definition at line 69 of file csengine/material.h.

References csHashMap::Get.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14