#include <sparsetable.h>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::allocate_group(), sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::operator=(), sparsegroup< T, GROUP_SIZE, Alloc >::read_metadata(), sparsegroup< T, GROUP_SIZE, Alloc >::set_aux(), and sparsegroup< T, GROUP_SIZE, Alloc >::sparsegroup().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::charbit(), and sparsegroup< T, GROUP_SIZE, Alloc >::modbit().
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::charbit(), and sparsegroup< T, GROUP_SIZE, Alloc >::modbit().
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::set().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::charbit(), and sparsegroup< T, GROUP_SIZE, Alloc >::modbit().
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase(), sparsegroup< T, GROUP_SIZE, Alloc >::get(), sparsegroup< T, GROUP_SIZE, Alloc >::mutating_get(), sparsegroup< T, GROUP_SIZE, Alloc >::set(), sparsegroup< T, GROUP_SIZE, Alloc >::test(), and sparsegroup< T, GROUP_SIZE, Alloc >::unsafe_get().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::read_metadata().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
bool sparsegroup< T, GROUP_SIZE, Alloc >::empty |
( |
| ) |
const |
|
inline |
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::size().
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::operator<(), sparsegroup< T, GROUP_SIZE, Alloc >::operator==(), and sparsegroup< T, GROUP_SIZE, Alloc >::rbegin().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::bmclear(), sparsegroup< T, GROUP_SIZE, Alloc >::bmtest(), sparsegroup< T, GROUP_SIZE, Alloc >::erase_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::offset, sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset(), and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References assert(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::offset, sparsegroup< T, GROUP_SIZE, Alloc >::alloc_impl< A >::realloc_or_die(), and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::allocate_group(), sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::p, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
template<class T, u_int16_t GROUP_SIZE, class Alloc>
void sparsegroup< T, GROUP_SIZE, Alloc >::free_group |
( |
| ) |
|
|
inlineprivate |
References sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::p, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::clear(), sparsegroup< T, GROUP_SIZE, Alloc >::erase(), sparsegroup< T, GROUP_SIZE, Alloc >::erase_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::operator=(), sparsegroup< T, GROUP_SIZE, Alloc >::set_aux(), and sparsegroup< T, GROUP_SIZE, Alloc >::~sparsegroup().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::bmtest(), sparsegroup< T, GROUP_SIZE, Alloc >::default_value(), sparsegroup< T, GROUP_SIZE, Alloc >::group, and sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::bmtest(), sparsegroup< T, GROUP_SIZE, Alloc >::default_value(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset(), and sparsegroup< T, GROUP_SIZE, Alloc >::set().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::group.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::nonempty_rend(), sparsegroup< T, GROUP_SIZE, Alloc >::read_nopointer_data(), and sparsegroup< T, GROUP_SIZE, Alloc >::write_nopointer_data().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::nonempty_rbegin(), sparsegroup< T, GROUP_SIZE, Alloc >::read_nopointer_data(), and sparsegroup< T, GROUP_SIZE, Alloc >::write_nopointer_data().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::allocate_group(), sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::p, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::begin(), sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::end(), sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bits_in_char().
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase(), sparsegroup< T, GROUP_SIZE, Alloc >::get(), sparsegroup< T, GROUP_SIZE, Alloc >::mutating_get(), sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset(), sparsegroup< T, GROUP_SIZE, Alloc >::set(), and sparsegroup< T, GROUP_SIZE, Alloc >::unsafe_get().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<typename INPUT >
bool sparsegroup< T, GROUP_SIZE, Alloc >::read_metadata |
( |
INPUT * |
fp | ) |
|
|
inline |
References sparsegroup< T, GROUP_SIZE, Alloc >::allocate_group(), sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::clear(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, sparsehash_internal::read_bigendian_number(), sparsehash_internal::read_data(), and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<typename INPUT >
bool sparsegroup< T, GROUP_SIZE, Alloc >::read_nopointer_data |
( |
INPUT * |
fp | ) |
|
|
inline |
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::bmset(), sparsegroup< T, GROUP_SIZE, Alloc >::bmtest(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::offset, sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset(), sparsegroup< T, GROUP_SIZE, Alloc >::set_aux(), and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::mutating_get().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, sparsegroup< T, GROUP_SIZE, Alloc >::alloc_impl< A >::realloc_or_die(), and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::set().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::allocate_group(), sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, nest::names::p, and sparsegroup< T, GROUP_SIZE, Alloc >::settings.
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::group, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, sparsegroup< T, GROUP_SIZE, Alloc >::settings, and swap().
Referenced by swap().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<class T, u_int16_t GROUP_SIZE, class Alloc>
References assert(), sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::bmtest(), sparsegroup< T, GROUP_SIZE, Alloc >::group, and sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<typename OUTPUT >
bool sparsegroup< T, GROUP_SIZE, Alloc >::write_metadata |
( |
OUTPUT * |
fp | ) |
const |
|
inline |
References assert(), sparsegroup< T, GROUP_SIZE, Alloc >::bitmap, sparsegroup< T, GROUP_SIZE, Alloc >::Settings::num_buckets, sparsegroup< T, GROUP_SIZE, Alloc >::settings, sparsehash_internal::write_bigendian_number(), and sparsehash_internal::write_data().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
template<typename OUTPUT >
bool sparsegroup< T, GROUP_SIZE, Alloc >::write_nopointer_data |
( |
OUTPUT * |
fp | ) |
const |
|
inline |
template<class T, u_int16_t GROUP_SIZE, class Alloc>
unsigned char sparsegroup< T, GROUP_SIZE, Alloc >::bitmap[(GROUP_SIZE-1)/8+1] |
|
private |
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::bmclear(), sparsegroup< T, GROUP_SIZE, Alloc >::bmset(), sparsegroup< T, GROUP_SIZE, Alloc >::bmtest(), sparsegroup< T, GROUP_SIZE, Alloc >::clear(), sparsegroup< T, GROUP_SIZE, Alloc >::erase(), sparsegroup< T, GROUP_SIZE, Alloc >::get(), sparsegroup< T, GROUP_SIZE, Alloc >::mutating_get(), sparsegroup< T, GROUP_SIZE, Alloc >::offset_to_pos(), sparsegroup< T, GROUP_SIZE, Alloc >::operator=(), sparsegroup< T, GROUP_SIZE, Alloc >::operator==(), sparsegroup< T, GROUP_SIZE, Alloc >::pos_to_offset(), sparsegroup< T, GROUP_SIZE, Alloc >::read_metadata(), sparsegroup< T, GROUP_SIZE, Alloc >::set(), sparsegroup< T, GROUP_SIZE, Alloc >::sparsegroup(), sparsegroup< T, GROUP_SIZE, Alloc >::swap(), sparsegroup< T, GROUP_SIZE, Alloc >::unsafe_get(), and sparsegroup< T, GROUP_SIZE, Alloc >::write_metadata().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::erase(), sparsegroup< T, GROUP_SIZE, Alloc >::erase_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::get(), sparsegroup< T, GROUP_SIZE, Alloc >::mutating_get(), sparsegroup< T, GROUP_SIZE, Alloc >::nonempty_begin(), sparsegroup< T, GROUP_SIZE, Alloc >::nonempty_end(), sparsegroup< T, GROUP_SIZE, Alloc >::operator=(), sparsegroup< T, GROUP_SIZE, Alloc >::read_metadata(), sparsegroup< T, GROUP_SIZE, Alloc >::set(), sparsegroup< T, GROUP_SIZE, Alloc >::set_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::sparsegroup(), sparsegroup< T, GROUP_SIZE, Alloc >::swap(), and sparsegroup< T, GROUP_SIZE, Alloc >::unsafe_get().
template<class T, u_int16_t GROUP_SIZE, class Alloc>
Referenced by sparsegroup< T, GROUP_SIZE, Alloc >::allocate_group(), sparsegroup< T, GROUP_SIZE, Alloc >::clear(), sparsegroup< T, GROUP_SIZE, Alloc >::erase(), sparsegroup< T, GROUP_SIZE, Alloc >::erase_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::free_group(), sparsegroup< T, GROUP_SIZE, Alloc >::nonempty_end(), sparsegroup< T, GROUP_SIZE, Alloc >::num_nonempty(), sparsegroup< T, GROUP_SIZE, Alloc >::operator=(), sparsegroup< T, GROUP_SIZE, Alloc >::operator==(), sparsegroup< T, GROUP_SIZE, Alloc >::read_metadata(), sparsegroup< T, GROUP_SIZE, Alloc >::set(), sparsegroup< T, GROUP_SIZE, Alloc >::set_aux(), sparsegroup< T, GROUP_SIZE, Alloc >::sparsegroup(), sparsegroup< T, GROUP_SIZE, Alloc >::swap(), and sparsegroup< T, GROUP_SIZE, Alloc >::write_metadata().
The documentation for this class was generated from the following file: