Strutil::StringHash Class Reference

#include <strutil.h>

List of all members.

Public Member Functions

size_t operator() (const char *s) const

Detailed Description

C++ functor wrapper class for using strhash for hash_map or hash_set. The way this is used, in conjunction with StringEqual, to build an efficient hash_map for char*'s is as follows:

   #ifdef _WIN32
    hash_map <const char *, Key, Strutil::StringHash>
   #else
    hash_map <const char *, Key, Strutil::StringHash, Strutil::StringEqual>
   #endif

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 27 06:30:41 2009 for OpenImageIO by  doxygen 1.6.1