Panda3D
Static Public Member Functions | List of all members
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 *, std::less< const void * > >

Static Public Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from stl_hash_compare< const void *, std::less< const void * > >
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
 

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 131 of file stl_compares.h.

Member Function Documentation

◆ add_hash()

size_t pointer_hash::add_hash ( size_t  start,
const void *  key 
)
inlinestatic

Adds the indicated key into a running hash.

Definition at line 110 of file stl_compares.I.

References AddHash::add_hash().

Referenced by NodePath::add_hash().


The documentation for this class was generated from the following files: