Panda3D
|
This is the default hash_compare class, which assumes the Key is a size_t value or can be implicitly converted to a size_t value (for instance, via a size_t typecast operator). More...
#include "stl_compares.h"
Static Public Member Functions | |
static size_t | add_hash (size_t start, const Key &key) |
Adds the indicated key into a running hash. More... | |
Additional Inherited Members | |
![]() | |
bool | is_equal (const Key &a, const Key &b) const |
size_t | operator() (const Key &key) const |
bool | operator() (const Key &a, const Key &b) const |
This is the default hash_compare class, which assumes the Key is a size_t value or can be implicitly converted to a size_t value (for instance, via a size_t typecast operator).
It is the same as the system-provided hash_compare.
Definition at line 137 of file stl_compares.h.
|
inlinestatic |
Adds the indicated key into a running hash.
Definition at line 122 of file stl_compares.I.
References AddHash::add_hash(), and pointer_hash::add_hash().
Referenced by LVecBase2f::add_hash(), LVecBase3f::add_hash(), LVecBase4f::add_hash(), LVecBase2d::add_hash(), LVecBase3d::add_hash(), LVecBase4d::add_hash(), LVecBase2i::add_hash(), LVecBase3i::add_hash(), LVecBase4i::add_hash(), RenderState::bin_removed(), TextureAttrib::find_on_stage(), CullFaceAttrib::get_effective_mode(), LightAttrib::has_light(), ClipPlaneAttrib::has_plane(), and indirect_compare_names< Key >::is_equal().