Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

vpr::GUID::hash Struct Reference

Hasher for vpr::GUID. More...

#include <GUID.h>

List of all members.

Public Methods

vpr::Uint32 operator() (const vpr::GUID &guid) const


Detailed Description

Hasher for vpr::GUID.

This can be used with std::hash_map and friends.

Definition at line 220 of file GUID.h.


Member Function Documentation

vpr::Uint32 vpr::GUID::hash::operator() const vpr::GUID   guid const [inline]
 

Definition at line 222 of file GUID.h.

References vpr::GUID::_vpr_guid::_packed::l0, vpr::GUID::_vpr_guid::_packed::l1, vpr::GUID::_vpr_guid::_packed::l2, vpr::GUID::_vpr_guid::_packed::l3, vpr::GUID::mGuid, and vpr::GUID::_vpr_guid::packed.

00223       {
00224          return guid.mGuid.packed.l0 + guid.mGuid.packed.l1 + guid.mGuid.packed.l2 + guid.mGuid.packed.l3;
00225       }


The documentation for this struct was generated from the following file:
Generated on Sun May 2 14:47:17 2004 for VR Juggler Portable Runtime by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002