libmoost
|
#include <dense_hash_map.hpp>
Public Member Functions | |
writer (memory_mapped_dataset::writer &wr, const std::string &name, const key_type &empty_key, float max_population_ratio=MAX_POPULATION_RATIO(), size_t alignment=MMD_HASH_ALIGNMENT) | |
writer & | operator<< (const value_type &e) |
writer & | operator<< (const std::pair< Key, T > &e) |
void | insert (const value_type &e) |
void | insert (const std::pair< Key, T > &e) |
size_type | size () const |
Protected Member Functions | |
void | pre_commit () |
Private Member Functions | |
size_type | get_optimum_table_size (size_type pop) const |
size_type | find (const key_type &key, const value_type *begin, size_type size) const |
void | empty_value (value_type &val) const |
void | build_dense_hash_map (std::vector< value_type > &target) const |
Private Attributes | |
key_type | m_empty_key |
float | m_max_pop_ratio |
std::vector< value_type > | m_values |
Definition at line 188 of file dense_hash_map.hpp.
moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::writer | ( | memory_mapped_dataset::writer & | wr, |
const std::string & | name, | ||
const key_type & | empty_key, | ||
float | max_population_ratio = MAX_POPULATION_RATIO() , |
||
size_t | alignment = MMD_HASH_ALIGNMENT |
||
) | [inline] |
void moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::build_dense_hash_map | ( | std::vector< value_type > & | target | ) | const [inline, private] |
Definition at line 305 of file dense_hash_map.hpp.
void moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::empty_value | ( | value_type & | val | ) | const [inline, private] |
size_type moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::find | ( | const key_type & | key, |
const value_type * | begin, | ||
size_type | size | ||
) | const [inline, private] |
Definition at line 275 of file dense_hash_map.hpp.
size_type moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::get_optimum_table_size | ( | size_type | pop | ) | const [inline, private] |
void moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::insert | ( | const value_type & | e | ) | [inline] |
void moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::insert | ( | const std::pair< Key, T > & | e | ) | [inline] |
writer& moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::operator<< | ( | const value_type & | e | ) | [inline] |
writer& moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::operator<< | ( | const std::pair< Key, T > & | e | ) | [inline] |
void moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::pre_commit | ( | ) | [inline, protected, virtual] |
Reimplemented from moost::container::mmd_section_writer_base.
Definition at line 241 of file dense_hash_map.hpp.
size_type moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::size | ( | ) | const [inline] |
key_type moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::m_empty_key [private] |
Definition at line 333 of file dense_hash_map.hpp.
float moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::m_max_pop_ratio [private] |
Definition at line 334 of file dense_hash_map.hpp.
std::vector<value_type> moost::container::mmd_dense_hash_map< Key, T, HashFcn >::writer::m_values [private] |
Definition at line 335 of file dense_hash_map.hpp.