|
Panda3D
|
This hash_compare class hashes a class object. More...
#include "stl_compares.h"
Public Member Functions | |
| bool | operator() (const Key &a, const Key &b) const |
| size_t | operator() (const Key &key) const |
| Calls the Key's get_hash() method. | |
Public Member Functions inherited from stl_hash_compare< Key, Compare > | |
| bool | is_equal (const Key &a, const Key &b) const |
| bool | operator() (const Key &a, const Key &b) const |
| size_t | operator() (const Key &key) const |
This hash_compare class hashes a class object.
It assumes the Key provides a method called get_hash() that returns a size_t.
Definition at line 168 of file stl_compares.h.
|
inline |
Definition at line 171 of file stl_compares.h.
|
inline |
Calls the Key's get_hash() method.
Definition at line 183 of file stl_compares.I.