UDK 3.2.7 C/C++ API Reference
Public Member Functions
rtl::OStringHash Struct Reference

A helper to use OStrings with hash maps. More...

#include <string.hxx>

List of all members.

Public Member Functions

size_t operator() (const OString &rString) const
 Compute a hash code for a string.

Detailed Description

A helper to use OStrings with hash maps.

Instances of this class are unary function objects that can be used as hash function arguments to boost::unordered_map and similar constructs.


Member Function Documentation

size_t rtl::OStringHash::operator() ( const OString rString) const [inline]

Compute a hash code for a string.

Parameters:
rStringa string.
Returns:
a hash code for the string. This hash code should not be stored persistently, as its computation may change in later revisions.

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