Panda3D
Public Member Functions | Static Public Member Functions

pointer_hash Class Reference

This is the default hash_compare class, which assumes the Key is a pointer value. More...

#include "stl_compares.h"

Inheritance diagram for pointer_hash:
stl_hash_compare< const void *, less< const void * > > less

List of all members.

Public Member Functions

bool is_equal (const const void *&a, const const void *&b) const
size_t operator() (const const void *&key) const
bool operator() (const const void *&a, const const void *&b) const

Static Public Member Functions

static size_t add_hash (size_t start, const void *key)
 Adds the indicated key into a running hash.

Detailed Description

This is the default hash_compare class, which assumes the Key is a pointer value.

It is the same as the system-provided hash_compare.

Definition at line 149 of file stl_compares.h.


Member Function Documentation

size_t pointer_hash::add_hash ( size_t  start,
const void *  key 
) [inline, static]

Adds the indicated key into a running hash.

Definition at line 133 of file stl_compares.I.

Referenced by RenderState::get_hash().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations