Completely empties the table. Definition at line 194 of file simpleHashMap.I. References TypeHandle::none(). Referenced by TransformState::clear_cache(), and RenderState::clear_cache().
template<class Key, class Value , class Compare >
Searches for the indicated key in the table. Returns its index number if it is found, or -1 if it is not present in the table. Definition at line 78 of file simpleHashMap.I.
template<class Key , class Value , class Compare >
Returns the data in the nth slot of the table. It is an error to call this if there is nothing stored in the nth slot (use has_element() to check this first). n should be in the range 0 <= n < get_size(). Definition at line 282 of file simpleHashMap.I. Referenced by TransformState::clear_cache(), RenderState::clear_cache(), TransformState::get_composition_cache_result(), RenderState::get_composition_cache_result(), TransformState::get_invert_composition_cache_result(), RenderState::get_invert_composition_cache_result(), TransformState::get_num_unused_states(), and RenderState::get_num_unused_states().
template<class Key , class Value , class Compare >
Returns the key in the nth slot of the table. It is an error to call this if there is nothing stored in the nth slot (use has_element() to check this first). n should be in the range 0 <= n < get_size(). Definition at line 265 of file simpleHashMap.I. Referenced by TransformState::get_composition_cache_source(), RenderState::get_composition_cache_source(), TransformState::get_invert_composition_cache_source(), and RenderState::get_invert_composition_cache_source().
template<class Key , class Value , class Compare >
Returns the number of active entries in the table. This is not necessarily related to the number of slots in the table as reported by get_size(). Use get_size() to iterate through all of the slots, not get_num_entries(). Definition at line 379 of file simpleHashMap.I. Referenced by TransformState::clear_cache(), RenderState::clear_cache(), TransformState::get_composition_cache_num_entries(), RenderState::get_composition_cache_num_entries(), TransformState::get_invert_composition_cache_num_entries(), and RenderState::get_invert_composition_cache_num_entries().
template<class Key , class Value , class Compare >
Returns the total number of slots in the table. Definition at line 234 of file simpleHashMap.I. Referenced by TransformState::clear_cache(), RenderState::clear_cache(), TransformState::get_composition_cache_size(), RenderState::get_composition_cache_size(), TransformState::get_invert_composition_cache_size(), RenderState::get_invert_composition_cache_size(), TransformState::get_num_unused_states(), and RenderState::get_num_unused_states().
template<class Key , class Value , class Compare >
Returns true if there is an element stored in the nth slot, false otherwise. n should be in the range 0 <= n < get_size(). Definition at line 248 of file simpleHashMap.I. Referenced by TransformState::clear_cache(), RenderState::clear_cache(), TransformState::get_composition_cache_result(), RenderState::get_composition_cache_result(), TransformState::get_composition_cache_source(), RenderState::get_composition_cache_source(), TransformState::get_invert_composition_cache_result(), RenderState::get_invert_composition_cache_result(), TransformState::get_invert_composition_cache_source(), RenderState::get_invert_composition_cache_source(), TransformState::get_num_unused_states(), and RenderState::get_num_unused_states().
template<class Key , class Value , class Compare >
Returns true if the table is empty; i.e. get_num_entries() == 0. Definition at line 391 of file simpleHashMap.I. Referenced by RenderState::~RenderState(), and TransformState::~TransformState().
template<class Key , class Value , class Compare >
Returns a modifiable reference to the data in the nth slot of the table. It is an error to call this if there is nothing stored in the nth slot (use has_element() to check this first). n should be in the range 0 <= n < get_size(). Definition at line 300 of file simpleHashMap.I.
template<class Key, class Value , class Compare >
Returns a modifiable reference to the data associated with the indicated key, or creates a new data entry and returns its reference. Definition at line 219 of file simpleHashMap.I.
template<class Key, class Value , class Compare >
Removes the indicated key and its associated data from the table. Returns true if the key was removed, false if it was not present. Definition at line 178 of file simpleHashMap.I.
template<class Key , class Value , class Compare >
Removes the nth slot from the table. It is an error to call this if there is nothing stored in the nth slot (use has_element() to check this first). n should be in the range 0 <= n < get_size(). Definition at line 334 of file simpleHashMap.I.
template<class Key , class Value, class Compare >
Changes the data for the nth slot of the table. It is an error to call this if there is nothing stored in the nth slot (use has_element() to check this first). n should be in the range 0 <= n < get_size(). Definition at line 317 of file simpleHashMap.I.
template<class Key, class Value, class Compare >
Records the indicated key/data pair in the map. If the key was already present, silently replaces it. Returns a reference to the value in the map. Definition at line 118 of file simpleHashMap.I.
template<class Key , class Value , class Compare >
Quickly exchanges the contents of this map and the other map. Definition at line 51 of file simpleHashMap.I.
template<class Key , class Value , class Compare >
Returns true if the internal table appears to be consistent, false if there are some internal errors. Definition at line 441 of file simpleHashMap.I. The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||