aitools::bighashmap::core::big_hash_map< T > Class Template Reference

#include <big_hash_map.hpp>

List of all members.

Public Types

typedef cmph_map< T > map_type
typedef map_type::key_type key_type
typedef map_type::value_type value_type
typedef map_type::checksum_type checksum_type

Public Member Functions

 ~big_hash_map ()
bool find (const key_type &key, value_type &value)
bool find (const std::string &key, char *value_buffer)
uint64_t size () const

Static Public Member Functions

static const bfs::path build (const bfs::path &input_dir, const bfs::path &output_dir, algorithm algo=algorithm::bdz)
static big_hash_mapopen (const bfs::path &idx_file, util::memory_type mem)

Static Public Attributes

static const std::string index_file_name

Private Member Functions

 big_hash_map ()
 big_hash_map (const std::vector< map_type * > &sub_maps)

Static Private Member Functions

static uint64_t table_size (const bfs::path &dir)

Private Attributes

std::vector< map_type * > maps_
uint64_t size_

Detailed Description

template<typename T>
class aitools::bighashmap::core::big_hash_map< T >

See external_map for any comments.

Author:
martin.trenkmann@uni-weimar.de
Version:
Id
big_hash_map.hpp,v 1.2 2011/09/21 01:00:50 trenkman Exp

Definition at line 25 of file big_hash_map.hpp.


Member Typedef Documentation

Definition at line 32 of file big_hash_map.hpp.

Definition at line 30 of file big_hash_map.hpp.

template<typename T>
typedef cmph_map<T> aitools::bighashmap::core::big_hash_map< T >::map_type

Definition at line 29 of file big_hash_map.hpp.

Definition at line 31 of file big_hash_map.hpp.


Constructor & Destructor Documentation

template<typename T>
aitools::bighashmap::core::big_hash_map< T >::big_hash_map (  )  [inline, private]

Definition at line 40 of file big_hash_map.hpp.

Referenced by aitools::bighashmap::core::big_hash_map< T >::open().

Here is the caller graph for this function:

template<typename T>
aitools::bighashmap::core::big_hash_map< T >::big_hash_map ( const std::vector< map_type * > &  sub_maps  )  [inline, private]
template<typename T>
aitools::bighashmap::core::big_hash_map< T >::~big_hash_map (  )  [inline]

Member Function Documentation

template<typename T>
static const bfs::path aitools::bighashmap::core::big_hash_map< T >::build ( const bfs::path &  input_dir,
const bfs::path &  output_dir,
algorithm  algo = algorithm::bdz 
) [inline, static]

Definition at line 87 of file big_hash_map.hpp.

template<typename T>
bool aitools::bighashmap::core::big_hash_map< T >::find ( const std::string &  key,
char *  value_buffer 
) [inline, virtual]

Implements aitools::bighashmap::core::raw_big_hash_map.

Definition at line 134 of file big_hash_map.hpp.

References aitools::util::hash32(), and aitools::bighashmap::core::big_hash_map< T >::maps_.

Here is the call graph for this function:

template<typename T>
bool aitools::bighashmap::core::big_hash_map< T >::find ( const key_type key,
value_type value 
) [inline]

Definition at line 127 of file big_hash_map.hpp.

References aitools::util::hash32(), and aitools::bighashmap::core::big_hash_map< T >::maps_.

Here is the call graph for this function:

template<typename T>
static big_hash_map* aitools::bighashmap::core::big_hash_map< T >::open ( const bfs::path &  idx_file,
util::memory_type  mem 
) [inline, static]
template<typename T>
uint64_t aitools::bighashmap::core::big_hash_map< T >::size (  )  const [inline, virtual]

Implements aitools::bighashmap::core::raw_big_hash_map.

Definition at line 146 of file big_hash_map.hpp.

References aitools::bighashmap::core::big_hash_map< T >::size_.

Referenced by aitools::bighashmap::core::big_hash_map< T >::table_size().

Here is the caller graph for this function:

template<typename T>
static uint64_t aitools::bighashmap::core::big_hash_map< T >::table_size ( const bfs::path &  dir  )  [inline, static, private]

Definition at line 55 of file big_hash_map.hpp.

References aitools::bighashmap::core::big_hash_map< T >::size().

Referenced by aitools::bighashmap::core::big_hash_map< T >::open().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

template<typename T>
const std::string aitools::bighashmap::core::big_hash_map< T >::index_file_name [inline, static]

Definition at line 36 of file big_hash_map.hpp.

template<typename T>
std::vector<map_type*> aitools::bighashmap::core::big_hash_map< T >::maps_ [private]
template<typename T>
uint64_t aitools::bighashmap::core::big_hash_map< T >::size_ [private]

The documentation for this class was generated from the following file:
Generated on Wed May 30 15:07:30 2012 by  doxygen 1.6.3