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

vpr::InetAddrHash Struct Reference

Nice little helper class for hashing a vpr::InetAddr. More...

#include <InetAddr.h>

List of all members.

Public Methods

size_t operator() (vpr::InetAddr addr) const


Detailed Description

Nice little helper class for hashing a vpr::InetAddr.

Definition at line 63 of file InetAddr.h.


Member Function Documentation

size_t vpr::InetAddrHash::operator() vpr::InetAddr    addr const [inline]
 

Definition at line 65 of file InetAddr.h.

References vpr::InetAddrBSD::getAddressValue, and vpr::InetAddrBSD::getPort.

00066    {
00067       return ((addr.getAddressValue() << 16) | addr.getPort());
00068    }


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